[hobbit] Monitoring SMB shares

Harold J. Ballinger hballinger at heritage-healthcare.com
Fri Jul 31 18:32:52 CEST 2009


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





More information about the Xymon mailing list