Variable for HTTP test
nishioka at rightnow.ne.jp
Thu Dec 15 06:35:05 CET 2005
I am using the Hobbit as an HTTP service monitor and when the service is
in trouble, SCRIPT setting in my HOBBIT-ALERTS.CFG sends an alert
But I am wondering if there are any environment variables for URL which
can be used in a script as well as BBALPHAMSG, ACKCODE, RCPT, and so on.
For example, my bb-hosts file contains the following entries.
0.0.0.0 aaa.hoge.com # http://aaa.hoge.com/cgi-bin/php/aaauser/home.php
0.0.0.0 bbb.hoge.com # https://bbb.hoge.com/cgi-bin/php/bbbuser/home.php
and I would like to include URL(http://aaa.hoge.com/cgi-bin/php/aaauser/home.php)
in each alert message sent by my script.
More information about the Xymon