- SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '228']
- SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQnte -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/arris -t 2 -r 5 udp:HOSTNAME:161 .1.3.6.1.4.1.4115.1.4.3.3.1.2.5.0]
- .*.4.1.4*.*.0 = 3200
- Checking (snmp) temperature CPU card, on the right hand side....
- 32
- RRD[update /opt/dev_librenms/rrd/c3-lamata-1.tvt-datos.es/sensor-temperature-arris_c3-0.rrd N:32]
- InfluxDB data:
- sensorArray
- (
- [hostname] => c3-lamata-1.tvt-datos.es
- [sensor_class] => temperature
- [sensor_type] => arris_c3
- [sensor_descr] => CPU\ card\,\ on\ the\ right\ hand\ side.
- [sensor_index] => _blank_
- )
- Array
- (
- [sensor] => 32
- )
- END
- SQL[UPDATE `sensors` set `sensor_current` ='32',`sensor_prev` ='0',`lastupdate` =NOW() WHERE `sensor_class` = 'Temperature' AND `sensor_id` = '74']
- >> Runtime for poller module 'sensors': 0.3412 seconds with 2528 bytes
- >> SNMP: [2/0.21s] MySQL: [5/0.02s] RRD: [8/0.00s]
- #### Unload poller module sensors ####