In the meantime, before you get around to all your clients, you can edit the bbsys.local file and change
DF="/bin/df -k" Line to: DF="/bin/df -kP"
Which will take out the extra line return.
*PS - Dangit Henrik! I knew this answer and was looking for it to see where to change it! Hehehe!
-----Original Message----- From: Bailey, Edward [mailto:ebailey at transunion.com] Sent: Monday, December 11, 2006 4:42 PM To: hobbit at hswn.dk Subject: RE: [hobbit] Help with disk monitoring
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:henrik at hswn.dk] Sent: Monday, December 11, 2006 4:28 PM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk