[hobbit] Help with disk monitoring

Henrik Stoerner henrik at hswn.dk
Mon Dec 11 22:27:37 CET 2006


On Mon, Dec 11, 2006 at 04:21:16PM -0500, Bailey, Edward wrote:
> Also the file systems from these problem servers show up differently as
> well. The standard file system mounts are displayed without an issues
> but the LVM maps display the mount point but nothing else
> 
> /dev/mapper/sysvg-opt
> /dev/mapper/sysvg-var
> /dev/cciss/c0d0p1      2016016    216060   1697544  12% /
> /dev/cciss/c0d0p2      3020172    950024   1916728  34% /usr

This is a classical problem with the Big Brother client - you are
apparently using the BB client instead of the Hobbit client. What's
happening is that the "df" command used on the monitored servers breaks
long lines in the output, so your "df" output looks like

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1               579598    192382    356293  36% /
/dev/mapper/vg1-lv_usr
                       2568144    648964   1788724  27% /usr
/dev/mapper/vg1-lv_var
                       1048540    733448    315092  70% /var

and since the BB client does a 'grep "^/dev"' to weed out entries like
tmpfs, you only get the /dev/mapper line, not the next line with the 
actual data in it.

The solution is to change the DFCMD setting on your servers to
"df -P", making it use the POSIX format output.


Regards,
Henrik




More information about the Xymon mailing list