purple after 30 minutes - clientlaunch.cfg INTERVAL set to 60m
Hello,
I am trying to run a local script which I launch from my clientlaunch.cfg as shown below
[testHost] ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg CMD $HOBBITCLIENTHOME/ext/testHost.sh LOGFILE $HOBBITCLIENTHOME/logs/testHost.log INTERVAL 60m
The test runs, completes and sends GREEN status back to the monitroing server. After 30 minutes this expires and it is then displayed as PURPLE.
Does anyone know how I can extend the time that my tests are valid for? Do I need to do something both on the client and server?
I found the following post
http://www.hswn.dk/hobbiton/2005/06/msg00257.html
but the link within it is no longer there.
Thanks in advance,
Iain.
-- Iain Miller iainonthemove at gmail.com
On Tuesday 13 November 2007, Iain Miller wrote:
Does anyone know how I can extend the time that my tests are valid for? Do I need to do something both on the client and server?
per the bb man page:
status[+LIFETIME][/group:GROUP] HOSTNAME.TESTNAME COLOR <additional text> This sends in a status message for a single test (column) on a single host.......The LIFETIME defines how long this status is valid after being received by the Hobbit 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 sligtly more 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.
so change you bb status to status+75 or some such.
Hi There,
Thanks very much for this - it did the job.
Best Regards,
Iain.
On 13/11/2007, s_aiello at comcast.net <s_aiello at comcast.net> wrote:
On Tuesday 13 November 2007, Iain Miller wrote:
Does anyone know how I can extend the time that my tests are valid for? Do I need to do something both on the client and server?
per the bb man page:
status[+LIFETIME][/group:GROUP] HOSTNAME.TESTNAME COLOR <additional text> This sends in a status message for a single test (column) on a single host.......The LIFETIME defines how long this status is valid after being received by the Hobbit 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 sligtly more 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.
so change you bb status to status+75 or some such.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Iain Miller iainonthemove at gmail.com
participants (2)
-
iainonthemove@gmail.com
-
s_aiello@comcast.net