hobbitd_alert: Servers on multiple pages & PAGE= rules

s_aiello at comcast.net s_aiello at comcast.net
Fri Mar 30 22:30:17 CEST 2007


Lets say I have the following bb-hosts file:
page servers
subpage Web Web Servers
1.2.3.4		Web01.domain.com			#
1.2.3.5		Web02.domain.com			#
Subpage Other Other Web Servers
0.0.0.0		Web02.domain.com			#

And now I have the following hobbit-alerts.cfg:
PAGE=servers/Other SERVICE=conn
	MAIL coolguy at domain.com COLOR=red,yellow

Now I run the command, "bin/bbcmd hobbitd_alert --test Web02.domain.com conn", 
I see:
2007-03-30 15:09:38 Using default environment 
file ..../server/etc/hobbitserver.cfg
00000897 2007-03-30 15:09:38 send_alert Web02.domain.com:conn state Paging
00000897 2007-03-30 15:09:38 Matching 
host:service:page 'Web02.domain.com:conn:server/Web' against rule line 119
00000897 2007-03-30 15:09:38 Failed 'PAGE=servers/Other SERVICE=conn' 
(pagename not in include list)

So it seems when using PAGE= alert rules only honor the first page a device is 
listed on. Is this by design ?



More information about the Xymon mailing list