Xymon Mailing List Archive search

hobbitd_alert: Servers on multiple pages & PAGE= rules

list S Aiello
Tue, 10 Apr 2007 16:11:42 -0400
Message-Id: <user-5d981f84cfe8@xymon.invalid>

Searching the Mailing list archives, I see a few others have experienced the 
same problem. So is there a recommended work-around , or is this on the todo 
list to be fixed.

Any information would be most welcomed, Thanks.
 ~Steve

On Friday 30 March 2007 16:30, user-ce96540ed38f@xymon.invalid wrote:
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 user-f21f09270637@xymon.invalid 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 ?