[hobbit] Monitoring SMB shares
Harold J. Ballinger a écrit :
With those changes, I have the following now showing in the shares.log:
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status HHCGVL-MONI03.shares Fri Jul 31 14:56:36 EDT 2009
HHCGVL-MONI03 is the name of the Xymon server, and not the name of one of the hosts as identified in bb-hosts that I want to be monitoring.
Will it matter that my bb-hosts uses "INCLUDE" for all actual hosts and that none of the hosts with the shares:PUBLIC, etc are listed in the actual bb-hosts file?
-----Original Message----- From: dOCtoR MADneSs [mailto:doctor at makelofine.org] Sent: Friday, July 31, 2009 1:36 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Monitoring SMB shares
dOCtoR MADneSs a écrit : I made a little mistake, you should use the provided correction, remove the last line (echo "$BB $BBDISP "status ${FULLNAME}.shares $BGCOLOR
date$LINE"") and add this line : echo "$BB $BBDISP "status $MACHINE.shares $BGCOLOR $(date) $LINE"" just under : $BB $BBDISP "status $MACHINE.shares $BGCOLOR $(date) $LINE"To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi,
The output is not correct, the color (variable $BGCOLOR) is missing, and that's why you don't have the column appearing. I'll take a deeper look on the code to find why, and I'll give you a feedback when possible.
Regards
participants (1)
-
doctor@makelofine.org