[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Monitoring SMB shares
- To: "'hobbit (at) hswn.dk'" <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Monitoring SMB shares
- From: "Harold J. Ballinger" <hballinger (at) heritage-healthcare.com>
- Date: Fri, 31 Jul 2009 12:32:52 -0400
- 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>
I have this in hobbitlaunch.cfg:
----------COPIED WITH NO EDITS-------------
[shares]
ENVFILE /etc/hobbit/hobbitserver.cfg
NEEDS hobbitd
CMD /usr/lib/hobbit/server/ext/shares.sh
LOGFILE $BBSERVERLOGS/shares.log
INTERVAL 5m
-------------------------------------------
It appears to be running since I get this in shares.log:
----------COPIED WITH NO EDITS-------------
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status .shares date
---------------------------------------------
Should the line in the log above actually look like this instead:
/usr/lib/hobbit/server/bin/bb 127.0.0.1 status HHCGVL-FILE01.shares green 'date'
I don't see it sending across the hostname or status?
-----Original Message-----
>
>Hi,
>
>This code checks if the BBHOME variable is set. When xymon runs a
>script, it sets some values, including BBHOME. For hobbit/xymon
>compatibility, you could replace :
>. $BBHOME/etc/bbdef.sh
>with
>. $BBHOME/etc/hobbitclient.cfg # INCLUDE STANDARD DEFINITIONS
>
>In your case, I suppose you declare the plugin with the following :
>[shares]
> ENVFILE /usr/local/xymon/client/etc/hobbitclient.cfg
> CMD $PATH_TO_SERVER_EXT_DIR/shares.sh
> LOGFILE $/PATH_TO_SERVER_LOG_DIR/hobbitclient.log
> INTERVAL 5m
>Please confirm this point or tell us the way you declared it.
>
>To unsubscribe from the hobbit list, send an e-mail to
>hobbit-unsubscribe (at) hswn.dk