lm sensors ok, cacti dont make fan graph

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mionco
Posts: 10
Joined: Tue Apr 16, 2013 5:39 am

lm sensors ok, cacti dont make fan graph

Post by mionco »

hi, i have cacti Version 0.8.7g on ubunut and i got voyage linux with lm sensors, snmpd and problem making fan graph... temp and voltage are working well, but no fan graphs... on another distro ubuntu its making graph ok, but here on voyage not, i dont know how to fix it, its very importat for me to have fan graphs as well, please help...

Code: Select all

root@voyage:~# uname -a
Linux voyage 3.6.9 #4 SMP Thu Mar 7 20:32:14 GMT 2013 i686 GNU/Linux

Code: Select all

root@voyage:~# sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:      +1.22 V  (min =  +0.85 V, max =  +1.60 V)
 +3.3 Voltage:      +3.26 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:        +4.89 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:      +12.04 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:     2020 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS FAN Speed: 4560 RPM  (min =  800 RPM, max = 7200 RPM)
CPU Temperature:    +36.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:     +29.0°C  (high = +45.0°C, crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +46.0°C  (high = +82.0°C, crit = +100.0°C
cacti web managment show streamer-klenova - Fan Sensor - No sensor data, and graph debug shows:

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='streamer-klenova - Fan Sensor -  No sensor data' \
--rigid \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='RPMs' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/streamer-klenova_sensorreading_224.rrd":sensorReading:AVERAGE \
LINE2:a#6DC8FEFF:" No sensor data was returned from SNMP"  \
GPRINT:a:LAST:"Current\:%8.0lf"  \
GPRINT:a:AVERAGE:"Average\:%8.0lf"  \
GPRINT:a:MIN:"Minimum\:%8.0lf"  \
GPRINT:a:MAX:"Maximum\:%8.0lf\n" 

RRDTool Says:

OK
in console devices its shows:

3) ucd/net - lmSensors - Fan Sensors (Verbose Query) Uptime Goes Backwards Success [2 Items, 1 Row]

and verbose query shows

Code: Select all

+ Running data query [16].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/netsnmp_lmsensors_fan.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_netsnmp_lmsensors.php 192.168.69.34:2:public:::::::161:500 fan index'
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_netsnmp_lmsensors.php 192.168.69.34:2:public:::::::161:500 fan query sensorDevice'
+ Found item [sensorDevice=' No sensor data was returned from SNMP'] index: FATAL
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_netsnmp_lmsensors.php 192.168.69.34:2:public:::::::161:500 fan query sensorName'
+ Found item [sensorName=' No sensor data was returned from SNMP'] index: FATAL
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/netsnmp_lmsensors_fan.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/netsnmp_lmsensors_fan.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/netsnmp_lmsensors_fan.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/script_server/netsnmp_lmsensors_fan.xml'
so i really dont know how to solve it... please help, thanks
mionco
Posts: 10
Joined: Tue Apr 16, 2013 5:39 am

Re: lm sensors ok, cacti dont make fan graph

Post by mionco »

and

Code: Select all

root@jupiter:~# php /usr/share/cacti/site/scripts/ss_netsnmp_lmsensors.php 192.168.69.34:2:public:::::::: FAN query sensornameFATAL: No sensor data was returned from SNMP
but why?

please help me, thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: lm sensors ok, cacti dont make fan graph

Post by gandalf »

ss_netsnmp_lmsensors.php seems not to deliver what you expect. As this is a custom script, I don't know what happens inside of it. But currently, it does not seem to find your data.
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests