Nesting PAGE= into Macro Possible in hobbit-alerts.cfg?

wiskbroom at hotmail.com wiskbroom at hotmail.com
Fri Feb 5 16:27:24 CET 2010


Hello;

I am trying to define a group of hosts for alerting purposes and am unable to see successful results when I run bbcmd hobbitd_alert --test CLIENT-HOSTNAME cpu

CLIENT-HOSTNAME does appear as being a member of the same page/subpage I've declared in my alerts file.  Here is what ~bbcmd hobbitd_alert --test CLIENT-HOSTNAME cpu gives me:

00006992 2010-02-05 10:17:09 send_alert CLIENT-HOSTNAME:cpu state Paging
00006992 2010-02-05 10:17:09 Matching host:service:page 'CLIENT-HOSTNAME:cpu:myservers/mywinboxes/mywintelsqlservers' against rule line 194
00006992 2010-02-05 10:17:09 Failed 'HOST=$WINDOWSHOSTS' (hostname not in include list)

My hobbit-alerts.cfg has this:

$WINDOWSHOSTS=PAGE=myservers/mywinboxes/mywintelsqlservers

Is this syntax right?  Am I allowed to declare a PAGE within a MACRO like this?

Any suggestions into how best to define what I've declared as either a page, and.or subpage, in my bb-hosts would be greatly appreciated.

Thank you in advance,

.vadim


 		 	   		  


More information about the Xymon mailing list