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><br><div class="gmail_quote">
2009/6/10 Shea, Graeme A <span dir="ltr"><<a href="mailto:Shea.Graeme.A@edumail.vic.gov.au">Shea.Graeme.A@edumail.vic.gov.au</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">










<div link="blue" vlink="purple" lang="EN-AU">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">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></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">………………………………………………Start
next line ………………………………………………………………………………………</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">green+27h Defragmentation completed at 9/06/2009 1:16:26 AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Beginning defragmentation of C: at 9/06/2009 1:00:00
AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Drive C: Successfully defragmented. at 1:09:40 AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Beginning defragmentation of E: at 9/06/2009 1:09:40
AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Drive E: Successfully defragmented. at 1:14:56 AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Beginning defragmentation of F: at 9/06/2009 1:14:56
AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Drive F: Successfully defragmented. at 1:16:14 AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Beginning defragmentation of G: at 9/06/2009 1:16:14
AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&green Drive G: Successfully defragmented. at 1:16:26 AM</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">BBDefrag, Shea Technology Pty. Ltd., BBDefrag.vbs Version: 2.0.2</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">…………………………………………End
line above……………………………………………………………………………………………..</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Everything apart from the “green+27h” is displayed
on the status page. The “&green” displays a green dot on the
status page.</span></p><div class="im">

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hope this helps</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Graeme.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</div><div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> 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<div><div></div><div class="h5"><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</div></div></span></p>

</div><div><div></div><div class="h5">

<p> </p>

<p style="margin-bottom: 12pt;">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>
<br>
</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>></p>

<div>

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I had to put information in the
first line after the status message or it wouldn’t work. Something like</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">“green+24h
testserver.test “ should work, I add the date and time too.
“green+24h” didn’t work for me.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Graeme</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> 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></p>

<div>

<div>

<p><span style="font-size: 10pt;" lang="EN-US"><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></p>

</div>

</div>

</div>

<div>

<div>

<p> </p>

<p style="margin-bottom: 12pt;">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>
<br>
</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>></p>

<div>

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You have to modify the first
line of the script to specify the timeout (time to purple) eg.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">“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></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">“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></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">“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></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">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></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hope this helps</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Regards</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Graeme</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> 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></p>

</div>

<div>

<div>

<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:</p>

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

<p style="margin-bottom: 12pt;"><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</p>

<div>

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

<div>

<p><span style="font-size: 10pt; 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></p>

<p> </p>

<p><span style="font-size: 10pt; 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></p>

<p> </p>

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

<p> </p>

<p><span style="font-size: 10pt; color: blue;">GLH</span></p>

<p> </p>

<div style="text-align: center;" align="center"><span lang="EN-US">

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

</span></div>

<p style="margin-bottom: 12pt;"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> 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></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>
TIA</p>

</div>

</div>

</div>

</div>

<p> </p>

</div>

</div>

</div>

<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>

</div>

</div>

<p> </p>

</div>

</div>

</div>

<div>

<div>

<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>

</div>

</div>

</div>

</div>

<p> </p>

</div></div></div><div><div></div><div class="h5">

<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>

</div></div></div>


</blockquote></div><br>