Temperature: Dynamic Discovery (temperature): array ( 'data' => array ( 0 => array ( 'oid' => 'fgHwSensors', 'num_oid' => '.1.3.6.1.4.1.12356.101.4.3.2.1.{{ $index }}', 'index' => 'fgHwSensorEntIndex.{{ $index }}', 'descr' => 'fgHwSensorEntName', 'value' => 'fgHwSensorEntValue', 'skip_values' => array ( 0 => array ( 'oid' => 'fgHwSensorEntName', 'op' => 'regex', 'value' => '/^((?!Temp).)*$/', ), 1 => array ( 'oid' => 'fgHwSensorEntValue', 'op' => '=', 'value' => -1, ), ), ), ), ) Data fgHwSensors: array ( 0 => array ( 'fgHwSensorCount' => '44', ), 1 => array ( 'fgHwSensorEntIndex' => '1', 'fgHwSensorEntName' => '+VCC3', 'fgHwSensorEntValue' => '3.311', 'fgHwSensorEntAlarmStatus' => '0', ), 2 => array ( 'fgHwSensorEntIndex' => '2', 'fgHwSensorEntName' => '+VCC5', 'fgHwSensorEntValue' => '5.0172', 'fgHwSensorEntAlarmStatus' => '0', ), 3 => array ( 'fgHwSensorEntIndex' => '3', 'fgHwSensorEntName' => '+VCC12', 'fgHwSensorEntValue' => '11.976', 'fgHwSensorEntAlarmStatus' => '0', ), ... 33 => array ( 'fgHwSensorEntIndex' => '33', 'fgHwSensorEntName' => 'PS1 Temp 1', 'fgHwSensorEntValue' => '23', 'fgHwSensorEntAlarmStatus' => '0', ), 34 => array ( 'fgHwSensorEntIndex' => '34', 'fgHwSensorEntName' => 'PS1 Temp 2', 'fgHwSensorEntValue' => '24', 'fgHwSensorEntAlarmStatus' => '0', ), ... ) Sensor fetched value: 23 Cur 23, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.12356.101.4.3.2.1.33, fgHwSensorEntIndex.33, fortigate, PS1 Temp 1, snmp, 1, 1, , 23, (limits: LL: , LW: , W: , H: ), rrd_type = SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","temperature",5,"fortigate","fgHwSensorEntIndex.33"] 0.46ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["temperature",5,"fortigate","fgHwSensorEntIndex.33"] 3.93ms] . Sensor fetched value: 24 Cur 24, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.12356.101.4.3.2.1.34, fgHwSensorEntIndex.34, fortigate, PS1 Temp 2, snmp, 1, 1, , 24, (limits: LL: , LW: , W: , H: ), rrd_type = SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","temperature",5,"fortigate","fgHwSensorEntIndex.34"] 0.48ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["temperature",5,"fortigate","fgHwSensorEntIndex.34"] 0.44ms] . array ( 'fortigate' => array ( 'fgHwSensorEntIndex.33' => 1, 'fgHwSensorEntIndex.34' => 1, ), ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["temperature",5,"snmp"] 0.64ms] fgHwSensorEntIndex.33 -> fortigate fgHwSensorEntIndex.34 -> fortigate