Xymon Mailing List Archive search

ncv double DS name

list Thomas Kern
Sun, 3 Jun 2007 14:04:02 -0400
Message-Id: <user-6a2262e52156@xymon.invalid>

Without looking at the NCV code, I would guess that it is ignoring any leading characters that might be considered punctuation. Can you run the output of the command through sed to change +12V to 12Vp and -12V to 12Vn ? 

Thomas Kern
XXX-XXX-XXXX
 
----- Original Message -----
From: Thomas Bergauer <user-214d20439f66@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Sun Jun 03 08:59:37 2007
Subject: [hobbit] ncv double DS name

hi!

i have hobbit running and my clients sending the server the  output of
the lm_sensor command to show temperatures and voltages of the
mainboard. The output looks basically like this:

as99127f-i2c-0-2d
Adapter: SMBus PIIX4 adapter at e800
VCore 1:   +2.05 V  (min =  +1.74 V, max =  +2.22 V)              VCore 2:   +2.59 V  (min =  +2.24 V, max =  +2.74 V)              +3.3V:     +3.50 V  (min =  +2.96 V, max =  +3.62 V)              +5V:       +5.08 V  (min =  +4.49 V, max =  +5.48 V)              +12V:     +11.67 V  (min =  +9.12 V, max = +13.62 V)              -12V:     -11.57 V  (min = -14.37 V, max =  -9.60 V)              -5V:       -5.23 V  (min =  -6.00 V, max =  -4.00 V)              Cha Fan:  1940 RPM  (min =  664 RPM, div = 4)                     P/S Fan:  2636 RPM  (min = 1328 RPM, div = 4)                     temp1:       +27°C  (high =   +40°C, hyst =   +38°C)          temp2:     +32.7°C  (high =   +52°C, hyst =   +47°C)          vid:      +2.000 V  (VRM Version 8.2)


I have set up a custom rrd graph to plot these data. However, I am
getting the following error in the rrd-status.log:
RRD error creating /usr/lib/hobbit/data/rrd/server/sensors.rrd: Duplicate DS name: 12V

It seems that +12V and -12V are treated as a single name. how can I
avoid this problem?

thanks, Thomas