Macro help
Charles Jones
jonescr at cisco.com
Thu Sep 7 19:53:30 CEST 2006
Can we use macros in other config files besides hobbit-alerts.cfg? I'm
trying to use the following in hobbit-clients.cfg, and it's just not
working:
$TOMCAT_1_1="prod-app-12|prod-app-15|prod-app-19"
$TOMCAT_1_2="prod-app-32"
$TOMCAT_1_3="prod-app-23|prod-app-27"
$TOMCAT_2_1="prod-app-4|prod-app-7|prod-app-14|prod-app-29"
HOST=%($TOMCAT_1_1)
PROC "tomcat_1_1" TRACK=tc_1_1
HOST=%($TOMCAT_1_2)
PROC "tomcat_1_2" TRACK=tc_1_2
HOST=%($TOMCAT_1_3)
PROC "tomcat_1_3" TRACK=tc_1_3
HOST=%($TOMCAT_2_1)
PROC "tomcat_2_1" TRACK=tc_2_1
Note: I have many. many more hosts to define, which is why I would
prefer to use macros if possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060907/d240e266/attachment.html>
More information about the Xymon
mailing list