[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Monitoring SMB shares
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Monitoring SMB shares
- From: dOCtoR MADneSs <doctor (at) makelofine.org>
- Date: Sat, 01 Aug 2009 11:32:57 +0200
- References: <833FE11B4A07FD4789F720B6F915124F0786CA34A8 (at) HHCGVL-COMM01> <Pine.LNX.4.64.0907162108490.30236 (at) pal34.desy.de> <833FE11B4A07FD4789F720B6F915124F0786CA34AA (at) HHCGVL-COMM01> <4A5FA203.20104 (at) makelofine.org> <833FE11B4A07FD4789F720B6F915124F0786CA34AF (at) HHCGVL-COMM01> <4A60D1CC.2090905 (at) makelofine.org> <833FE11B4A07FD4789F720B6F915124F0786CA34D9 (at) HHCGVL-COMM01> <4A69B24F.3040706 (at) makelofine.org> <833FE11B4A07FD4789F720B6F915124F0786CA355C (at) HHCGVL-COMM01> <4A71BBC5.9020504 (at) makelofine.org> <833FE11B4A07FD4789F720B6F915124F0786CA3568 (at) HHCGVL-COMM01> <4A72B913.4010705 (at) makelofine.org> <833FE11B4A07FD4789F720B6F915124F0786CA3570 (at) HHCGVL-COMM01> <4A732A14.8040107 (at) makelofine.org> <4A732B7B.9080106 (at) makelofine.org> <833FE11B4A07FD4789F720B6F915124F0786CA3572 (at) HHCGVL-COMM01>
- User-agent: Thunderbird 2.0.0.22 (X11/20090608)
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