Xymon Mailing List Archive search

Variable for HTTP test

1 message in this thread

list Takeshi Nishioka · Thu, 15 Dec 2005 14:35:05 +0900 ·
Hello Everyone,

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
message properly.

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.