Xymon Mailing List Archive search

ncv double DS name

5 messages in this thread

list Thomas Bergauer · Sun, 3 Jun 2007 12:59:37 +0000 (UTC) ·
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
list Thomas Kern · Sun, 3 Jun 2007 14:04:02 -0400 ·
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
quoted from Thomas Bergauer
 
----- 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
list Klaus-Peter Boden · Mon, 4 Jun 2007 09:46:50 +0200 ·
Thomas Bergauer <user-214d20439f66@xymon.invalid> schrieb am 03.06.2007 14:59:37:
quoted from Thomas Kern
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) 
...
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?
Documentation in hobbitd_rrd.8.html says that 'only the valid letters (A-Z a-z) and digits (0-9) are used in dataset names, whitespaces and other characters are stripped off...

so you should also see a problem with 'VCore 1' and 'VCore 2' ;-), that means before sending the output to the hobbit server you will have to parse the input, using a shell script or whatever...

best regards
Klaus
-kpb>

thanks, Thomas

list Charles Goyard · Mon, 4 Jun 2007 10:24:46 +0200 ·
Hi,
quoted from Klaus-Peter Boden
so you should also see a problem with 'VCore 1' and 'VCore 2' ;-), that 
means before sending the output to the hobbit server you will have to 
parse the input, using a shell script or whatever...
The NCV module will gently change VCore 1 and VCore 2 into "VCore1" and
"VCore2".


-- 
Charles Goyard - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31
list Thomas Bergauer · Mon, 4 Jun 2007 10:23:49 +0000 (UTC) ·
quoted from Klaus-Peter Boden
Klaus-Peter Boden <user-8d46cc9324f4@xymon.invalid> wrote:
Documentation in hobbitd_rrd.8.html says that 'only the valid letters (A-Z 
a-z) and digits (0-9) are used in dataset names, whitespaces and other 
characters are stripped off...
ok. by replacing the + and - with p and m as suggested in an other
message it is working now. thanks to all for your help.

however, I was wondering that the lm_sensors monitoring is not already
part of the standard hobbit installation.


Thomas