PAGE= matching not working (Hobbit 4.0.2 Debian package)

Christian Perrier Christian.Perrier at onera.fr
Fri May 13 14:04:01 CEST 2005


I'm in trouble getting PAGE= alert working.

>From my /etc/hobbit/bb-hosts file:

.../...
subpage CP Serveurs C. Perrier
172.24.16.2     adonis.cma.onera #  ssh ftp smtp ntp dns testip
144.204.16.17   amenophis #   ssh ntp testip
125.1.17.70     bastet #  ssh ftp smtp ntp
.../...


>From /etc/hobbit/hobbit-alerts.cfg:
PAGE=CP TIME=W:0600:1800
  MAIL perrier at alix.onera REPEAT=1440 RECOVERED

testing this:

root at nephtys:/etc/hobbit/web# /usr/lib/hobbit/server/bin/bbcmd --env=/etc/hobbit/hobbitserver.cfg hobbitd_alert --test bastet conn
00018699 2005-05-13 14:00:29 send_alert bastet:conn state Paging
00018699 2005-05-13 14:00:29 Matching host:service:page 'bastet:conn:' against rule line 115
00018699 2005-05-13 14:00:29 Failed (pagename not in include list)


If I change hobbit-alerts.cfg:
HOST=adonis.mca.onera,amenophis,bastet TIME=W:0600:1800
  MAIL perrier at alix.onera REPEAT=1440 RECOVERED

root at nephtys:/etc/hobbit/web# /usr/lib/hobbit/server/bin/bbcmd --env=/etc/hobbit/hobbitserver.cfg hobbitd_alert --test bastet conn
00018718 2005-05-13 14:01:30 send_alert bastet:conn state Paging
00018718 2005-05-13 14:01:30 Matching host:service:page 'bastet:conn:' against rule line 116
00018718 2005-05-13 14:01:30 *** Match with 'MAIL perrier at alix.onera REPEAT=1440 RECOVERED' ***


So, it seems that PAGE= matchin does not work as expected....or am I
doing something wrong?



-- 





More information about the Xymon mailing list