[hobbit] NCV behaving badly

Guðmundur Örn Ingvarsson Gudmundur.O.Ingvarsson at landsbankinn.is
Fri Dec 11 10:32:45 CET 2009


That's an interesting solution but sadly impossible in these cases as the messages are generated by Devmon

___________________________________________

Guðmundur Örn Ingvarsson
Landsbankinn
Unix Infrastructure Administrator
Core Systems IT - CS IT

Sími / Tel.: (+354)  410 6730
Farsími / Mobile: (+354)  820 5074
Fax: (+354)  410 3032
gudmundur.ingvarsson at landsbanki.is
www.landsbanki.is


-----Original Message-----
From: W.J.M. Nelis [mailto:nelis at nlr.nl] 
Sent: 11. desember 2009 09:19
To: hobbit at hswn.dk
Subject: Re: [hobbit] NCV behaving badly

Hello,

> Hi, I'm having some trouble with NCV after upgrading from Hobbit 4.2.0 
> to Xymon 4.2.3
>
>  
>
> Notably many of my NCV graphs are no longer updating, and these are 
> the kind of errors I'm seeing in my rrd-status.log
>
>  
>
> 2009-12-11 08:45:41 RRD error creating 
> /usr/local/xymon/data/rrd/lia10bc01.li01r1d.lais.net/bladecenter.rrd: 
> Duplicate DS name: tableborder
>
> 2009-12-11 08:45:41 RRD error creating 
> /usr/local/xymon/data/rrd/lia10bc01.li01r1d.lais.net/power.rrd: 
> Duplicate DS name: TotalAllocatedPower
>
> 2009-12-11 08:45:41 RRD error creating 
> /usr/local/xymon/data/rrd/DS4800_RB_02/perf.rrd: Duplicate DS name: 
> IMGBORDER
>
> 2009-12-11 08:45:41 RRD error creating 
> /usr/local/xymon/data/rrd/DS4800_RB_02/perf.rrd: Duplicate DS name: 
> IMGBORDER
>
> 2009-12-11 08:45:41 RRD error updating 
> /usr/local/xymon/data/rrd/lia10bc02.li01r1d.lais.net/bladecenter.rrd 
> from 172.27.100.236: unknown DS name 'tableborder'
>
> 2009-12-11 08:45:41 RRD error updating 
> /usr/local/xymon/data/rrd/lia10bc02.li01r1d.lais.net/power.rrd from 
> 172.27.100.236: unknown DS name 'TotalAllocatedPower'
>
> 2009-12-11 08:45:41 RRD error updating 
> /usr/local/xymon/data/rrd/lia10bc03.li01r1d.lais.net/bladecenter.rrd 
> from 172.27.100.236: unknown DS name 'tableborder'
>
> 2009-12-11 08:45:41 RRD error updating 
> /usr/local/xymon/data/rrd/lia10bc03.li01r1d.lais.net/power.rrd from 
> 172.27.100.236: unknown DS name 'TotalAllocatedPower'
>
> 2009-12-11 08:45:41 RRD error updating 
> /usr/local/xymon/data/rrd/lia10bc04.li01r1d.lais.net/bladecenter.rrd 
> from 172.27.100.236: unknown DS name 'tableborder'
>
> 2009-12-11 08:45:41 RRD error updating 
> /usr/local/xymon/data/rrd/lia10bc04.li01r1d.lais.net/power.rrd from 
> 172.27.100.236: unknown DS name 'TotalAllocatedPower'
>
>  
>
> When the duplicate error is involved Xymon cannot create an RRD file, 
> and the unknown error is when it can't update the RRD because it's 
> parsing wrong from the HTML file.
>
> For instance the TotalAllocatedPower variable it complains about is 
> like this in the HTML
>
>  
> .....
> <CENTER><TABLE ALIGN=CENTER BORDER=0 SUMMARY="Detail Status">
> <TR><TD><H3> Fri Dec 11 08:45:25 2009</H3>
> <PRE>
>  
> Power Usage
> Total Allocated Power 1 = 2250        <IMG SRC="/gifs/green.gif <view-source:http://xymon/gifs/green.gif>" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0>  Allocated power is well within the maximum power limit
> Total Current Power 1 = 1252          <IMG SRC="/gifs/green.gif <view-source:http://xymon/gifs/green.gif>" ALT="green" HEIGHT="16" WIDTH="16" BORDER=0>  Current power is well within the maximum power limit
> <!--
> totalalocpwr1: 2250
> totalcurpwr1: 1252
> -->
> <table border=1 cellpadding=5>
If you can change the message sent to hobbit, you could change the ":" 
and / or "=" outside the NCV lines into ":"  respectively "=". 
In  perl scripts, I  use the following line to  prevent  misinterpretation:
     $Msg=~ s/:/:/g ;  $Msg=~ s/=/=/g ;
(assuming that the status message without NCV is assembled in $Msg).

HTH,
  Wim Nelis.



*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


Landsbankinn (NBI hf.), kt. 471008-0280, Austurstræti 11, 155 Reykjavík, er skráð hlutafélag og starfar samkvæmt heimild og undir eftirliti Fjármálaeftirlitsins. 
Landsbankinn (NBI hf.), Austurstræti 11, 155 Reykjavík. is incorporated in Iceland with limited liability (Reg. No: 471008-0280) and is authorised and regulated by the Financial Supervisory Authority in Iceland (Fjármálaeftirlitið).

Fyrirvari/Disclaimer: http://www.landsbanki.is/disclaimer



More information about the Xymon mailing list