NCV behaving badly
Guðmundur Örn Ingvarsson
Gudmundur.O.Ingvarsson at landsbankinn.is
Fri Dec 11 09:50:41 CET 2009
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>
........
In the vase of the DS4800 the HTML code is like this.
....
<TR><TD><H3> Fri Dec 11 08:50:34 GMT 2009</H3>
<PRE>
Performance stats for DS4800_A10_10 controller
Read Percentage : 100.0
Cache Hit Percent : 21.9
Current KB/second : 159.2
Current IO/second : 19.9
<IMG BORDER=0 SRC="/xymon-cgi/hobbitgraph.sh?host=DS4800_A10_10&service=perf&graph_width=576&graph_height=120&first=1&count=1&disp=DS4800_A10_10&graph=hourly&action=view<view-source:http://xymon/xymon-cgi/hobbitgraph.sh?host=DS4800_A10_10&service=perf&graph_width=576&graph_height=120&first=1&count=1&disp=DS4800_A10_10&graph=hourly&action=view>" ALT="hobbit graph perf">
....
I use = when I don't want NCV to parse and : when I want it to parse. Hence the commented lines in the html page.
Anyway, anyone know why NCV behaves so badly ?
___________________________________________
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<mailto:gudmundur.ingvarsson at landsbanki.is>
www.landsbanki.is<http://www.landsbanki.is/>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091211/d8dfd7b4/attachment.html>
More information about the Xymon
mailing list