lm-sensors is working fine but when running the files for cacti it goes a bit tits up! Heres my data so far:
Code: Select all
sensors
debian:/etc/snmp# sensors
it8712-isa-0290
Adapter: ISA adapter
in0: +1.52 V (min = +0.00 V, max = +4.08 V)
in1: +2.48 V (min = +0.00 V, max = +4.08 V)
in2: +3.30 V (min = +0.00 V, max = +4.08 V)
in3: +2.74 V (min = +0.00 V, max = +4.08 V)
in4: +2.99 V (min = +0.00 V, max = +4.08 V)
in5: +2.34 V (min = +0.00 V, max = +4.08 V)
in6: +1.89 V (min = +0.00 V, max = +4.08 V)
in7: +2.88 V (min = +0.00 V, max = +4.08 V)
Vbat: +4.08 V
fan1: 7031 RPM (min = 664 RPM, div = 8)
fan3: 10546 RPM (min = 664 RPM, div = 8)
temp1: +25.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp2: -55.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp3: +23.0°C (low = +127.0°C, high = +70.0°C) sensor = thermal diode
cpu0_vid: +1.525 V
Code: Select all
Cacti Device Debug
+ Running data query [10].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/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 127.0.0.1:1:public:::MD5::DES::161:500 fan index'
+ Executing script query '/usr/bin/php -q /usr/share/cacti/site/scripts/ss_netsnmp_lmsensors.php 127.0.0.1:1:public:::MD5::DES::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 127.0.0.1:1:public:::MD5::DES::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/netsnmp_lmsensors_fan.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/netsnmp_lmsensors_fan.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/netsnmp_lmsensors_fan.xml'
Code: Select all
debian:/etc/snmp# cat snmpd.conf
rocommunity public
Code: Select all
debian:/etc/snmp# snmpwalk -v 2c -c public -m ALL localhost tempsensors
Bad operator (INTEGER): At line 73 in /usr/share/mibs/ietf/SNMPv2-PDU
Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2195 in /usr/share/mibs/ietf/IPSEC-SPD-MIB
Undefined OBJECT-GROUP (diffServMultiFieldClfrNextFree): At line 2157 in /usr/share/mibs/ietf/IPSEC-SPD-MIB
Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2062 in /usr/share/mibs/ietf/IPSEC-SPD-MIB
Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2 57 }
Undefined identifier: mib-2 near line 18 of /usr/share/mibs/ietf/IPATM-IPMC-MIB
Expected "::=" (RFC5644): At line 493 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Expected "{" (EOF): At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad object identifier: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
Bad parse of OBJECT-IDENTITY: At line 651 in /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
LM-SENSORS-MIB::lmTempSensorsIndex.1 = INTEGER: 0
LM-SENSORS-MIB::lmTempSensorsIndex.2 = INTEGER: 1
LM-SENSORS-MIB::lmTempSensorsIndex.3 = INTEGER: 2
LM-SENSORS-MIB::lmTempSensorsIndex.4 = INTEGER: 3
LM-SENSORS-MIB::lmTempSensorsIndex.5 = INTEGER: 4
LM-SENSORS-MIB::lmTempSensorsIndex.6 = INTEGER: 5
LM-SENSORS-MIB::lmTempSensorsIndex.7 = INTEGER: 6
LM-SENSORS-MIB::lmTempSensorsIndex.8 = INTEGER: 7
LM-SENSORS-MIB::lmTempSensorsIndex.9 = INTEGER: 8
LM-SENSORS-MIB::lmTempSensorsIndex.10 = INTEGER: 9
LM-SENSORS-MIB::lmTempSensorsIndex.11 = INTEGER: 10
LM-SENSORS-MIB::lmTempSensorsIndex.12 = INTEGER: 11
LM-SENSORS-MIB::lmTempSensorsIndex.13 = INTEGER: 12
LM-SENSORS-MIB::lmTempSensorsIndex.14 = INTEGER: 13
LM-SENSORS-MIB::lmTempSensorsIndex.15 = INTEGER: 14
LM-SENSORS-MIB::lmTempSensorsDevice.1 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.2 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.3 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.4 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.5 = STRING: temp1
LM-SENSORS-MIB::lmTempSensorsDevice.6 = STRING: temp2
LM-SENSORS-MIB::lmTempSensorsDevice.7 = STRING: temp2
LM-SENSORS-MIB::lmTempSensorsDevice.8 = STRING: temp2
LM-SENSORS-MIB::lmTempSensorsDevice.9 = STRING: temp2
LM-SENSORS-MIB::lmTempSensorsDevice.10 = STRING: temp2
LM-SENSORS-MIB::lmTempSensorsDevice.11 = STRING: temp3
LM-SENSORS-MIB::lmTempSensorsDevice.12 = STRING: temp3
LM-SENSORS-MIB::lmTempSensorsDevice.13 = STRING: temp3
LM-SENSORS-MIB::lmTempSensorsDevice.14 = STRING: temp3
LM-SENSORS-MIB::lmTempSensorsDevice.15 = STRING: temp3
LM-SENSORS-MIB::lmTempSensorsValue.1 = Gauge32: 25000
LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 127000
LM-SENSORS-MIB::lmTempSensorsValue.3 = Gauge32: 127000
LM-SENSORS-MIB::lmTempSensorsValue.4 = Gauge32: 0
LM-SENSORS-MIB::lmTempSensorsValue.5 = Gauge32: 4000
LM-SENSORS-MIB::lmTempSensorsValue.6 = Gauge32: 4294912296
LM-SENSORS-MIB::lmTempSensorsValue.7 = Gauge32: 127000
LM-SENSORS-MIB::lmTempSensorsValue.8 = Gauge32: 127000
LM-SENSORS-MIB::lmTempSensorsValue.9 = Gauge32: 0
LM-SENSORS-MIB::lmTempSensorsValue.10 = Gauge32: 4000
LM-SENSORS-MIB::lmTempSensorsValue.11 = Gauge32: 27000
LM-SENSORS-MIB::lmTempSensorsValue.12 = Gauge32: 70000
LM-SENSORS-MIB::lmTempSensorsValue.13 = Gauge32: 127000
LM-SENSORS-MIB::lmTempSensorsValue.14 = Gauge32: 0
LM-SENSORS-MIB::lmTempSensorsValue.15 = Gauge32: 3000
Cheers