[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hobbit-alerts.cfg & info column



 

Hey All,

 

I've defined this in my hobbits-alerts.cfg:

 

HOST=32*

    MAIL networkmail (at) foo.com REPEAT=1h

    SCRIPT /usr/local/smash/bb-smash-page <pagernumber> FORMAT=SMS
COLOR=red

    SCRIPT /usr/local/smash/bb-smash-sms <cellphonenumber> FORMAT=SMS
COLOR=red TIME=*:0700:2359

 

If I am correct this should do the following:

 

This should send mail to networkmail (at) foo.com when a host starting with
32 goes red and will resend that notification every hour.

It will also page <pagernumber> and sms to <cellphonenumber> all days of
the week between 07:00 and 23:59

 

Is this correct ? If so, why is it not visible in the info column for
each host ?

 

And can I test in some way if it really sends out notifications without
breaking something ?

 

Cheers,

 

Wim