hobbitd_alert: Servers on multiple pages & PAGE= rules

s_aiello at comcast.net s_aiello at comcast.net
Tue Apr 10 22:11:42 CEST 2007


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, s_aiello at comcast.net 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 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