<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Ken,
<blockquote
cite="mid:926033444-1307656616-cardhu_decombobulator_blackberry.rim.net-204836748-@b28.c7.bise6.blackberry"
type="cite">
<pre wrap="">What is the default time for a host to show purple for a test that has not run in a while....
Basically, I have a custom script I run in the background and update the bb-monitor (running v4.2.2)...I know if I run this test frequently everything will be green or ok, but its something I'd like to run only once or twice a day....
</pre>
</blockquote>
It depends what the LIFETIME is on the status message - default is
30 mins. If you have a custom script, should be changed to reflect
frequency test is run.<br>
<br>
From the man page for xymon or bb:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.xymon.com/xymon/help/manpages/man1/xymon.1.html">http://www.xymon.com/xymon/help/manpages/man1/xymon.1.html</a><br>
<br>
<br>
<blockquote type="cite">
<h2>XYMON MESSAGE SYNTAX</h2>
<p>
This section lists the most commonly used messages in the Xymon
protocol.
</p>
<p>
Each message must begin with one of the Xymon commands. Where
a HOSTNAME is specified, it must have any dots in the hostname
changed
to commas if the Xymon FQDN setting is enabled (which is the
default).
So the host "<a href="http://www.foo.com">www.foo.com</a>", for
example, would report as "www,foo,com".
</p>
<p>
</p>
<dl compact="compact">
<dt>status[+LIFETIME][/group:GROUP] HOSTNAME.TESTNAME COLOR
<additional text></dt>
<dd>
This sends in a status message for a single test (column) on a
single host.
TESTNAME is the name of the column where this test will show
up; any
name is valid except that using dots in the testname will not
work.
COLOR must be one of the valid colors: "green", "yellow",
"red" or "clear".
The colors "blue" and "purple" - although valid colors -
should not be sent in a
status message, as these are handled specially by the Xymon
server.
As a special case (for supporting older clients), "client" can
be
used as the name of the color. This causes the status message
to be
handled by Xymon as a "client" data message, and the TESTNAME
parameter is used as the "collector id".
<br>
The "additional text" normally includes a local timestamp and
a summary
of the test result on the first line. Any lines following the
first one
are free-form, and can include any information that may be
useful to
diagnose the problem being reported.
<br>
The LIFETIME defines how long this status is valid after being
received
by the Xymon server. The default is 30 minutes, but you can
set any
period you like. E.g. for a custom test that runs once an
hour, you will
want to set this to at least 60 minutes - otherwise the status
will go
purple after 30 minutes. It is a good idea to set the LIFETIME
to
slightly longer than the interval between your tests, to allow
for variations
in the time it takes your test to complete. The LIFETIME is in
minutes,
unless you add an "h" (hours), "d" (days) or "w" (weeks)
immediately after
the number, e.g. "status+5h" for a status that is valid for 5
hours.
<br>
The GROUP option is used to direct alerts from the status to a
specific group.
It is currently used for status generated from the Xymon
clients' data,
e.g. to direct alerts for a "procs" status to different
people, depending on
exactly which process is down.
<p>
</p>
</dd>
<dt><br>
</dt>
</dl>
</blockquote>
<pre class="moz-signature" cols="72">--
David Baldwin - IT Unit
Australian Sports Commission <a class="moz-txt-link-abbreviated" href="http://www.ausport.gov.au">www.ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a> Leverrier Street Bruce ACT 2617
</pre>
<br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.</font>
<hr>
</body>
</html>