Details
Description
I would like to have temperature (and fan sensors if available) logged, so I've updated
includes/definitions/mibs/clavister.inc.php
|
with definitions for that.
Here are some snmpwalk examples:
Device without fans:
$ snmpwalk -v2c -c public 192.168.1.1 .1.3.6.1.4.1.5089.1.2.1.11
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.1.1 = INTEGER: 1
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.2.1 = STRING: "CpuTemp"
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.3.1 = Gauge32: 65
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.4.1 = STRING: "C"
|
Device with fan and multiple temperature sensors:
$ snmpwalk -v2c -c public 192.168.1.1 .1.3.6.1.4.1.5089.1.2.1.11
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.1.1 = INTEGER: 1
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.1.2 = INTEGER: 2
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.1.3 = INTEGER: 3
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.2.1 = STRING: "SysTemp"
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.2.2 = STRING: "CPUFan"
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.2.3 = STRING: "CpuTemp"
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.3.1 = Gauge32: 28
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.3.2 = Gauge32: 7627
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.3.3 = Gauge32: 36
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.4.1 = STRING: "C"
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.4.2 = STRING: "RPM"
|
SNMPv2-SMI::enterprises.5089.1.2.1.11.1.4.3 = STRING: "C"
|
Attached code works for me, feel free to adjust it.