[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable
- From: Cayo de Moraes <camorae (at) googlemail.com>
- Date: Mon, 15 Jun 2009 09:37:58 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=BGcDitu4h1Ull05aBkswLCeMqn5Rtrhtd3TIpP1PkRI=; b=STri1SrSluQrM5xVSag2sw9LPnSBIRy3lP5dM0lrd9xzNv9U4AIXFjK1i76zIZOGgs t5LHxjhKV6KRKCHTtBADzWwNC5k2B/QKDEDWmYhkalXUwliZrFEmk1CB7t0HvVp0aFKi 2rWEnG8UAmYOBSAm7zxZCDT/TEuQ8w/tuFcWA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QEc+lmUR7SgblKTbCw2mvLvUhzoSKod0wXpaWjDGOOg6SnyBdmRg+4JJiuENKXXTJa A45dYEtQufWP/ZO5O0OXO0LkT3UFbhi5qOONQJHCIaaFKTeSGZdo54myQUe+eCDdUp1T 3Kgvz6n/Y8ewuFn5Pv+DVbVl5Y0TLzV07miFY=
- References: <3d9395ed0906080617y1a5415eqaac495fb76b461ec (at) mail.gmail.com> <06C3D92ADC647D45918996C82BFB6B99634F98B7E4 (at) GVW0433EXB.americas.hpqcorp.net> <3d9395ed0906090206wbf818b7r4843e16015a6adbe (at) mail.gmail.com> <7F79BACB04DFE04A9364D9CC9C9632BA02CCA3A2 (at) edusm02.education.vic.gov.au> <3d9395ed0906100008o5feb4f08j7abe23d63c8a24db (at) mail.gmail.com> <7F79BACB04DFE04A9364D9CC9C9632BA02CCA406 (at) edusm02.education.vic.gov.au> <3d9395ed0906100346x44907112n2d5370ebafc3af42 (at) mail.gmail.com> <7F79BACB04DFE04A9364D9CC9C9632BA02CCA42A (at) edusm02.education.vic.gov.au> <3d9395ed0906100628j68249cd6uda937c9405c53c2f (at) mail.gmail.com> <7F79BACB04DFE04A9364D9CC9C9632BA02CCA43A (at) edusm02.education.vic.gov.au>
well, I have kinda of custom graphs. Im using the BB old icons to replace
the Hobbit-Smilies.
Im also monitoring the standard column like cpu, disk, etc.. these checks
are done every 5 minutes. only the custom checks should be done once a day.
I can follow your idea that xymon does not rebember the status and thats why
it becomes black (should be purple :D ).
Well... maybe should I make these checks every 30 min? it seems to be the
only way to make this work! This little issue is kinda bad, because i dont
see if the status was green or red before it became black.
thanks for the help guys.
2009/6/10 Shea, Graeme A <Shea.Graeme.A (at) edumail.vic.gov.au>
> 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.
>
>
>
> 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).
>
>
>
> 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.
>
>
>
> Hope this helps
>
>
>
> Regards
>
> Graeme
>
>
>
>
>
>
>
> *From:* Cayo de Moraes [mailto:camorae (at) googlemail.com]
> *Sent:* Wednesday, 10 June 2009 11:29 PM
>
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable
>
>
>
> Hi Graeme,
>
> sorry for my last post... I wrote only "green+24" but I meant "green+24h".
>
> It doesnt work... I forgot to say that im using BBWin v0.12
>
> thanks,
> Cayo
>
> 2009/6/10 Shea, Graeme A <Shea.Graeme.A (at) edumail.vic.gov.au>
>
> 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.
>
>
>
> ………………………………………………Start next line ………………………………………………………………………………………
>
> green+27h Defragmentation completed at 9/06/2009 1:16:26 AM
>
>
>
> &green Beginning defragmentation of C: at 9/06/2009 1:00:00 AM
>
> &green Drive C: Successfully defragmented. at 1:09:40 AM
>
>
>
> &green Beginning defragmentation of E: at 9/06/2009 1:09:40 AM
>
> &green Drive E: Successfully defragmented. at 1:14:56 AM
>
>
>
> &green Beginning defragmentation of F: at 9/06/2009 1:14:56 AM
>
> &green Drive F: Successfully defragmented. at 1:16:14 AM
>
>
>
> &green Beginning defragmentation of G: at 9/06/2009 1:16:14 AM
>
> &green Drive G: Successfully defragmented. at 1:16:26 AM
>
>
>
>
>
>
>
> BBDefrag, Shea Technology Pty. Ltd., BBDefrag.vbs Version: 2.0.2
>
>
>
> …………………………………………End line above……………………………………………………………………………………………..
>
>
>
> Everything apart from the “green+27h” is displayed on the status page. The
> “&green” displays a green dot on the status page.
>
>
>
> Hope this helps
>
>
>
> Regards
>
> Graeme.
>
>
>
> *From:* Cayo de Moraes [mailto:camorae (at) googlemail.com]
> *Sent:* Wednesday, 10 June 2009 8:47 PM
>
>
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable
>
>
>
> still not working... now I get this in the page (column "test") -->
> Testserver.test
>
> =D
>
> 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...
>
>
>
> 2009/6/10 Shea, Graeme A <Shea.Graeme.A (at) edumail.vic.gov.au>
>
> I had to put information in the first line after the status message or it
> wouldn’t work. Something like
>
>
>
> “green+24h testserver.test “ should work, I add the date and time too.
> “green+24h” didn’t work for me.
>
>
>
> Regards
>
>
>
> Graeme
>
>
>
>
>
> *From:* Cayo de Moraes [mailto:camorae (at) googlemail.com]
> *Sent:* Wednesday, 10 June 2009 5:08 PM
>
>
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable
>
>
>
> Thx for the help guys, but its not working...
>
> Im using BBWin and here is my configuration:
>
>
> ext script:
> oOutFile.WriteLine "green+1d" & vbCrLf
> Else
> oOutFile.WriteLine "red+1d" & vbCrLf
>
>
>
> logfile from ext script, which is send to Xymon:
> green+1d
>
> testserver running test
>
>
>
> my BBWin.cfg looks like this:
> <externals>
> <setting name="timer" value="3m" />
> <setting name="logstimer" value="60s" />
> <load value="cscript C:\PROGRA~2\BBWin\ext\testscript.vbs" timer="300m"
> />
> </externals>
>
>
>
> 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?
>
> thanks,
> Cayo
>
>
> 2009/6/10 Shea, Graeme A <Shea.Graeme.A (at) edumail.vic.gov.au>
>
> You have to modify the first line of the script to specify the timeout
> (time to purple) eg.
>
>
>
> “green status Darth.dhcp green 10/06/2009 2:44:50 PM” The dhcp test on the
> server “Darth” have the standard time out
>
>
>
> “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.
>
>
>
> “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
>
>
>
> 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.
>
>
>
> Hope this helps
>
> Regards
>
> Graeme
>
>
>
> *From:* Cayo de Moraes [mailto:camorae (at) googlemail.com]
> *Sent:* Tuesday, 9 June 2009 7:07 PM
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] BBWin Ext Scripts after 30min are unavaliable
>
>
>
> Hi Greg,
>
> thank you for your support, it gave me the right direction! =D
>
> I found out that this lifetime in the scripts should look like this:
>
> $BB $BBDISP "status+70 $MACHINE.$TEST $COLOR `date` OK"
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 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...
>
> another thing is that the column dont get purple but black!
>
>
> Thanks
>
> 2009/6/8 HUBBARD, GREG ((EDS)) <ghubbard (at) hp.com>
>
> 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.
>
>
>
> 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.
>
>
>
> You can read about this in the man pages for the "bb" command (Xymon
> communications program).
>
>
>
> GLH
>
>
> ------------------------------
>
> *From:* Cayo de Moraes [mailto:camorae (at) googlemail.com]
> *Sent:* Monday, June 08, 2009 8:17 AM
> *To:* hobbit (at) hswn.dk
> *Subject:* [hobbit] BBWin Ext Scripts after 30min are unavaliable
>
> Hi guys,
>
> 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.
>
> Is it a know issue?
>
> I also tryed to put this paragraphs (i readed it here somewhere) in the
> hobbit-client.cfg:
>
> MAXMSG_DATA="5242880"
> MAXMSG_CLIENT="5242880"
> MAXMSG_STATUS="5242880"
>
>
> Nothing works... do i have to setup something else on server/client side?
>
>
>
>
> *Important - *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.
>