[hobbit] Custom script shows purple

David Morgan captkras at gmail.com
Wed Apr 28 13:39:29 CEST 2010


*face palm*  Duh!  It's in our custom script.  I am a doofus....

Iain M Conochie wrote:
> <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.
>>
>>   
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>




More information about the Xymon mailing list