The only problem is that I can't see my alerts in the "info" colum.
Known mis-feature. The "info" generator cannot handle the Hobbit alert configuration right now.
Thanks for your answer. I've changed the subjet of this mail because I think some alerts don't work as expected.
With this $BBHOME/etc/hobbit-alerts.cfg :
HOST=foo TIME=W:0900:1800 SCRIPT /tmp/alerte.sh SERVICE=* EXSERVICE=disk,mem,procs SCRIPT /tmp/alerte.sh SERVICE=disk DURATION>5m REPEAT=2h SCRIPT /tmp/alerte.sh SERVICE=mem COLOR=yellow REPEAT=24h SCRIPT /tmp/alerte.sh SERVICE=procs TIME=*:1145:1150,*:1205:1300 REPEAT=24h
I received these alerts :
15/02/2005 11:38:33 foo.mem = yellow (ACK :125406) 15/02/2005 11:39:33 foo.disk = red (ACK :419182) 15/02/2005 11:45:13 foo.procs = red (ACK :992240) 15/02/2005 12:03:46 foo.procs = red (ACK :143469) 15/02/2005 13:39:50 foo.disk = red (ACK :78043) 15/02/2005 14:03:50 foo.procs = red (ACK :408423) 15/02/2005 14:09:50 foo.cpu = yellow (ACK :844373) 15/02/2005 14:09:50 foo.cpu = yellow (ACK :844373) 15/02/2005 14:11:50 foo.cpu = yellow (ACK :589672) 15/02/2005 14:11:50 foo.cpu = yellow (ACK :589672)
I think there are 2 false errors :
- for each 'foo.cpu' alert I got paged twice, with the same ACK code.
- I shouldn't have been paged between 11h05 and 12h05, nor after 13h00, for 'foo.procs'
Any clue ?
Thanks...
--
Frédéric Mangeant