Hi all,

i really did all the steps:

Compiled kernel with lm_sensors and i2c stuff.
compiled net-smp with lm_sensor MIB.

Then if i do:
bash-3.1# snmpwalk -v 1 -c qui localhost 1.3.6.1.4.1.2021.13.16.2.1.3.2
i get:
LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 62500

I defined a datasource in /Devices/Server/Templates/Device/ as follows:
Name                 lmTempSensorsValue2
Source Type     SNMP
Enabled             True
OID                    1.3.6.1.4.1.2021.13.16.2.1.3.2
Type                  GAUGE
RRD Min         
RRD Max         
Create Cmd      
        
And if i Test it Against Device localhost i get:
Executing command against localhost
LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 61000
DONE in 1 seconds

So i added the datasource to a graph which is then defined as follows:
Name                      CPU Temperature
Height                     100
Width                       500
Units                        Celsius
Logarithmic Scale   False
Base 1024              False
Min Y                       -1
Max Y                      -1
Has Summary        True

Its graph commands are the following:
-F
-E
--height=100
--width=500
--vertical-label=Celsius
DEF:lmTempSensorsValue2-raw=rrdPath/lmTempSensorsValue2_lmTempSensorsValue2.rrd:ds0:AVERAGE
CDEF:lmTempSensorsValue2-rpn=lmTempSensorsValue2-raw,1000,/
CDEF:lmTempSensorsValue2=lmTempSensorsValue2-rpn
AREA:lmTempSensorsValue2-rpn#00cc00ff:lmTempSensorsValue2
GPRINT:lmTempSensorsValue2-rpn:LAST:cur\:%5.2lf%s
GPRINT:lmTempSensorsValue2-rpn:AVERAGE:avg\:%5.2lf%s
GPRINT:lmTempSensorsValue2-rpn:MAX:max\:%5.2lf%s\j

By the way, the graph point is set as follows:

Name    lmTempSensorsValue2
Type    DataPoint
DataPoint       lmTempSensorsValue2_lmTempSensorsValue2
Consolidation   AVERAGE
RPN     1000,/
Limit   -1
Line Type       AREA
Line Width      1
Stacked         False
Color (Hex value RRGGBB)        
Format  %5.2lf%s
Legend ${graphPoint/id}

I checked the default graphs given by Zenoss when discovering my server at 
localhost, they're basically the same, but they work! This one is always zero.

I had a look to the /usr/local/zenoss/log/zenperfsnmp.log without finding any 
error, i also run zenperfsnmp run localhost -v 10 and i din't find errors.

Is there something i'm missing?

Thank you a lot for any help, best regards,
Max.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=29451#29451

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to