<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Meddelande</TITLE>
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff size=2>The message sent
to hobbitserver should start with status+lifetime. In your case lifetime should
be 125.</FONT></SPAN></DIV>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff size=2>Ie. bb $BBDISP
"status+125 hostname.testname color ............"</FONT></SPAN></DIV>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff size=2>See extract from
bb manpage below.</FONT></SPAN></DIV>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=600563816-24102006><FONT color=#0000ff
size=2>Lars</FONT></SPAN></DIV>
<DIV><SPAN class=600563816-24102006></SPAN> </DIV>
<DIV><SPAN class=600563816-24102006>status[+LIFETIME][/group:GROUP]
HOSTNAME.TESTNAME COLOR <additional text> </DIV>
<DIV>
<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 Hobbit server. <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
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. </DD>
<DD> </DD>
<DD><FONT color=#0000ff size=2></FONT><BR> </DD></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=sv dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprungligt meddelande-----<BR><B>Från:</B> Jerry Yu
[mailto:jjj863@gmail.com] <BR><B>Skickat:</B> den 24 oktober 2006
18:12<BR><B>Till:</B> hobbit@hswn.dk<BR><B>Ämne:</B> [hobbit] how to tell
server my extension script reports only every 2 hour<BR><BR></FONT></DIV>I
have an extension script to check RAID status every two hours on the client
side (interval 2h). It works fine. The status turned PURLE after 5m. I guess
the server was expecting the data every 5m by default. How can I tell the
server to expect it every 2h instead, for this particular test (and/or for
this particular client)? <BR><BR></BLOCKQUOTE></BODY></HTML>