Disk monitor issues
Peters, Ron
rpeters at columbia.com
Wed Apr 29 00:12:27 CEST 2009
I've been making some updates to the monitoring of our vmware ESX servers and wanted to monitor the disk usage of the datastores attached to the servers. So, I modified the hobbitclient-linux.sh file and changed the [df] section from using df to using the vmware command vdf.
Now, the 'client data' link for that host on the hobbit/xymon server displays the correct output:
[df]
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 4.9G 1.7G 3.0G 36% /
/dev/sda1 99M 28M 67M 30% /boot
/dev/sda5 2.0G 364M 1.5G 20% /var/log
/vmfs/devices 4.8T 0 4.8T 0% /vmfs/devices
/vmfs/volumes/044c399a-7d915ca5 403G 223G 179G 55% /vmfs/volumes/Templates-NFS
/vmfs/volumes/491c687d-e3ad8cc1-fd39-00188b4010b4 127G 561M 126G 0% /vmfs/volumes/esxhost.local
/vmfs/volumes/49b9b542-21c7ce88-f87f-00188b4010b2 491G 354G 137G 72% /vmfs/volumes/DMZ-01-SAN8-128
/vmfs/volumes/49bebc3c-29931b02-3380-00188b4010b2 491G 353G 138G 71% /vmfs/volumes/DMZ-02-SAN8-97
/vmfs/volumes/49bfe3b7-3c37dcbc-65a2-00188b4010b2 491G 563M 491G 0% /vmfs/volumes/DMZ-03-SAN8-77
However, the actual page displaying the filesystem usage and rrd graph only displays local disk:
Tue Apr 28 14:56:51 PDT 2009 - Filesystems OK
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 4.9G 1.7G 3.0G 36% /
/dev/sda1 99M 28M 67M 30% /boot
/dev/sda5 2.0G 364M 1.5G 20% /var/log
What's also very odd is that I have roughly a dozen of these types of boxes and some of them report the full output on the web page but most don't.
Why would the text data be correct, but the web data be different or a sub-set? All the clients are getting their full data to the server. I haven't seen any errors on the server logs relating to specific clients.
Thoughts?
Thanks again...
More information about the Xymon
mailing list