<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have reread the thread and may have been misleading you. These
fixes will fix a purple error. A “black” error does not exist (AFAIK),
does it go clear (or white),  have you custom icons that would explain why
it is black and not clear? I believe the scripts are working fine the problem
lies elsewhere.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I notice with my install that if the whole host stops reporting
most tests go clear (shown as a white dot)  and stay that way until the
next time the test is run. If the host comes back on line they still stay
clear. It sort of makes sense because if the host goes offline then XyMon no longer
remembers the timeout and reports no data (which is correct).<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>So back to this issue. Are you reporting other tests as well
(like disk, cpu etc.) or only the custom tests.  If the whole host stops
reporting then no data reports would be consistent with my observations.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hope this helps<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Regards<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Graeme<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Cayo de Moraes
[mailto:camorae@googlemail.com] <br>
<b>Sent:</b> Wednesday, 10 June 2009 11:29 PM<br>
<b>To:</b> hobbit@hswn.dk<br>
<b>Subject:</b> Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi Graeme,<br>
<br>
sorry for my last post... I wrote only "green+24" but I meant
"green+24h".<br>
<br>
It doesnt work... I forgot to say that im using BBWin v0.12<br>
<br>
thanks,<br>
Cayo<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>2009/6/10 Shea, Graeme A <<a
href="mailto:Shea.Graeme.A@edumail.vic.gov.au">Shea.Graeme.A@edumail.vic.gov.au</a>><o:p></o:p></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>It needs
“green+24h” not just “green+24”. Everything after the
“green” or “green+24h” will appear on the status page
and  something else is needed on the first line or BBWin (at least in
version 0.9) does not work properly.  An example of one of my files that
one of my test scripts puts in the tmp folder of BBWin is between the dotted
lines.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>………………………………………………Start
next line
………………………………………………………………………………………</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>green+27h Defragmentation
completed at 9/06/2009 1:16:26 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Beginning
defragmentation of C: at 9/06/2009 1:00:00 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Drive C:
Successfully defragmented. at 1:09:40 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Beginning
defragmentation of E: at 9/06/2009 1:09:40 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Drive E:
Successfully defragmented. at 1:14:56 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Beginning
defragmentation of F: at 9/06/2009 1:14:56 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Drive F:
Successfully defragmented. at 1:16:14 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Beginning
defragmentation of G: at 9/06/2009 1:16:14 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>&green Drive G:
Successfully defragmented. at 1:16:26 AM</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>BBDefrag, Shea Technology Pty.
Ltd., BBDefrag.vbs Version: 2.0.2</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>…………………………………………End
line
above……………………………………………………………………………………………..</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Everything apart from the
“green+27h” is displayed on the status page. The
“&green” displays a green dot on the status page.</span><o:p></o:p></p>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Hope this helps</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Regards</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Graeme.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

</div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> Cayo de Moraes [mailto:<a
href="mailto:camorae@googlemail.com" target="_blank">camorae@googlemail.com</a>]
<br>
<b>Sent:</b> Wednesday, 10 June 2009 8:47 PM<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable<o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<div>

<p> <o:p></o:p></p>

<p style='margin-bottom:12.0pt'>still not working... now I get this in the page
(column "test") --> Testserver.test<br>
<br>
=D<br>
<br>
Hobbit seems not to work this parameters out. It simply ignores my green+24
(still black after 30 minuter) and prints the "testserver.test" in
the webpage...<br>
<br>
<br>
<br>
<o:p></o:p></p>

<div>

<p>2009/6/10 Shea, Graeme A <<a
href="mailto:Shea.Graeme.A@edumail.vic.gov.au" target="_blank">Shea.Graeme.A@edumail.vic.gov.au</a>><o:p></o:p></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>I had to put information in the
first line after the status message or it wouldn’t work. Something like</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>“green+24h
testserver.test “ should work, I add the date and time too.
“green+24h” didn’t work for me.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Regards</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Graeme</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> Cayo de Moraes [mailto:<a
href="mailto:camorae@googlemail.com" target="_blank">camorae@googlemail.com</a>]
<br>
<b>Sent:</b> Wednesday, 10 June 2009 5:08 PM</span><o:p></o:p></p>

<div>

<div>

<p><span lang=EN-US style='font-size:10.0pt'><br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable</span><o:p></o:p></p>

</div>

</div>

</div>

<div>

<div>

<p> <o:p></o:p></p>

<p style='margin-bottom:12.0pt'>Thx for the help guys, but its not working...<br>
<br>
Im using BBWin and here is my configuration:<br>
<br>
<br>
ext script:<br>
oOutFile.WriteLine "green+1d" & vbCrLf<br>
    Else<br>
        oOutFile.WriteLine "red+1d"
& vbCrLf<br>
<br>
<br>
<br>
logfile from ext script, which is send to Xymon:<br>
green+1d<br>
<br>
    testserver running test<br>
<br>
<br>
<br>
my BBWin.cfg looks like this:<br>
<externals><br>
    <setting name="timer" value="3m"
/><br>
    <setting name="logstimer" value="60s"
/><br>
    <load value="cscript
C:\PROGRA~2\BBWin\ext\testscript.vbs" timer="300m" /> <br>
</externals> <br>
<br>
<br>
<br>
With this configuration i could get a green status for 43 minutes (instead of
30) til it got black again... Am I still doing something wrong? <br>
<br>
thanks,<br>
Cayo<br>
<br>
<br>
<o:p></o:p></p>

<div>

<p>2009/6/10 Shea, Graeme A <<a
href="mailto:Shea.Graeme.A@edumail.vic.gov.au" target="_blank">Shea.Graeme.A@edumail.vic.gov.au</a>><o:p></o:p></p>

<div>

<div>

<p><span style='font-size:11.0pt;color:#1F497D'>You have to modify the first
line of the script to specify the timeout (time to purple) eg.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>“green status Darth.dhcp
green 10/06/2009 2:44:50 PM” The dhcp test on the server
“Darth”  have the standard time out</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>“green+2h status
Darth.dhcp green 10/06/2009 2:44:50 PM” The dhcp test on the server
“Darth” will timeout in 2 hours.</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>“green+1d status
Darth.dhcp green 10/06/2009 2:44:50 PM” The dhcp test on the server
“Darth” will  timeout in 1 day</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>There is (or was) a bug in BBWin
in that you have to have data on the first line after the status or ZyMon
generates an error. </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Hope this helps</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Regards</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'>Graeme</span><o:p></o:p></p>

<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'>

<p><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> Cayo de Moraes [mailto:<a
href="mailto:camorae@googlemail.com" target="_blank">camorae@googlemail.com</a>]
<br>
<b>Sent:</b> Tuesday, 9 June 2009 7:07 PM<br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable</span><o:p></o:p></p>

</div>

<div>

<div>

<p> <o:p></o:p></p>

<p>Hi Greg,<br>
<br>
thank you for your support, it gave me the right direction! =D<br>
<br>
I found out that this lifetime in the scripts should look like this:<o:p></o:p></p>

<pre>$BB $BBDISP "status+70 $MACHINE.$TEST $COLOR `date` OK"<br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre><pre><br>
<br>
<o:p></o:p></pre>

<p style='margin-bottom:12.0pt'><br>
but the Windows .vbs scripts dont give such parameters back to hobbit-server...
I just dont know how to implement this "status+time" in the vbs
scripts...<br>
<br>
another thing is that the column dont get purple but black! <br>
<br>
<br>
Thanks<o:p></o:p></p>

<div>

<p>2009/6/8 HUBBARD, GREG ((EDS)) <<a href="mailto:ghubbard@hp.com"
target="_blank">ghubbard@hp.com</a>><o:p></o:p></p>

<div>

<p><span style='font-size:10.0pt;color:blue'>By default, the Hobbit server
expects your tests to update at least once every 30 minutes.  This is the
LIFETIME parameter.  After "LIFETIME" expires with
no updates the server marks the test "purple" and sends an
alert.</span><o:p></o:p></p>

<p> <o:p></o:p></p>

<p><span style='font-size:10.0pt;color:blue'>The fix is simple -- in your
script you need to send a LIFETIME value when you send your status
message.  If you test once every day, you need to calculate LIFETIME as 24
* 60 + some extra in case your test is delayed from some reason.</span><o:p></o:p></p>

<p> <o:p></o:p></p>

<p><span style='font-size:10.0pt;color:blue'>You can read about this in the man
pages for the "bb" command (Xymon communications program).</span><o:p></o:p></p>

<p> <o:p></o:p></p>

<p><span style='font-size:10.0pt;color:blue'>GLH</span><o:p></o:p></p>

<p> <o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US>

<hr size=2 width="100%" align=center>

</span></div>

<p style='margin-bottom:12.0pt'><b><span lang=EN-US style='font-size:10.0pt'>From:</span></b><span
lang=EN-US style='font-size:10.0pt'> Cayo de Moraes [mailto:<a
href="mailto:camorae@googlemail.com" target="_blank">camorae@googlemail.com</a>]
<br>
<b>Sent:</b> Monday, June 08, 2009 8:17 AM<br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> [hobbit] BBWin Ext Scripts after 30min are unavaliable</span><o:p></o:p></p>

<div>

<div>

<p>Hi guys,<br>
<br>
im monitoring with some external scripts on my BBWin and when i try to set up
the "check time" higher (like one time a day) I noticed that the
column get unavaliable after 30 minutes for this client.<br>
<br>
Is it a know issue?<br>
<br>
I also tryed to put this paragraphs (i readed it here somewhere) in the
hobbit-client.cfg:<br>
<br>
MAXMSG_DATA="5242880"<br>
MAXMSG_CLIENT="5242880"<br>
MAXMSG_STATUS="5242880"<br>
<br>
<br>
Nothing works... do i have to setup something else on server/client side?<br>
<br>
<br>
<o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<p></p><p><b>Important - </b>This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Early Childhood Development.</p>
</body>

</html>