[hobbit] Custom script shows purple
Iain M Conochie
iain at shihad.org
Wed Apr 28 13:23:13 CEST 2010
<snip>
>
> # Tell Hobbit about it
> $BB $BBDISP "status $MACHINE.$COLUMN $COLOR `date`
>
You really need to put in status+5h instead of status for a 4 hour
script. This tells the hobbit server not to expire the message for 5 hours.
regards
Iain
> ${MSG}
> "
>
> exit 0
>
>
> And the following is our clientlocal.sh portion for this script:
>
> # LDAP Check - This command makes sure that this box is connected to
> the MGS LDAP Server
> [ldap-con]
> ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
> CMD $HOBBITCLIENTHOME/ext/getent.sh
> LOGFILE $HOBBITCLIENTHOME/logs/ldap.log
> INTERVAL 4h
>
> As can be seen, we have it running every 4 hours. The status check
> should be green, however, it goes to purple. Is there a way (and
> where/how) to change the default timeout for this, as I think the 4
> hour time is making it puke.
>
> Both these scripts are on the client side.
>
>
More information about the Xymon
mailing list