Xymon Mailing List Archive search

Help with disk monitoring

list Edward Bailey
Mon, 11 Dec 2006 16:42:01 -0500
Message-Id: <user-eb60fc3c149d@xymon.invalid>

Thanks for your quick response:) I did see that we have the big brother
client installed so I need to plan on upgrading the clients first.

Thanks again

Ed 
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Monday, December 11, 2006 4:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Help with disk monitoring

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

CONFIDENTIALITY NOTICE
This e-mail and any attachments contain information which may be confidential or privileged and exempt from disclosure under applicable law.  If you are not the intended recipient, be aware that any disclosure, copying, distribution, or use of the contents of this information is without authorization and is prohibited.  If you have received this email in error, please immediately notify us by returning it to the sender and delete this copy from your computer system.  Thank you.