[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 "&#58;" respectively "&#61;". In perl scripts, I use the following line to prevent misinterpretation:
    $Msg=~ s/:/&#58;/g ;  $Msg=~ s/=/&#61;/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.
*******************************************************************************************************