[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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:


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,