-bash-4.2$ ./discovery.php -d -h 265 -m sensors LibreNMS Discovery SQL[select `version` from `dbSchema` order by `version` desc limit 1 [] 44.56ms] SQL[SELECT version() [] 0.29ms] =================================== Version info: Commit SHA: d17eb4faaadbc0f58eeddf03da948a276a717a7a Commit Date: 1535957734 DB Schema: 267 PHP: 7.2.8 MySQL: 5.5.56-MariaDB RRDTool: 1.4.8 SNMP: NET-SNMP 5.7.2 ==================================DEBUG! Updating os_def.cache... Done Override discovery modules: sensors SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `device_id` = '265' ORDER BY device_id DESC [] 1.03ms] SQL[SELECT * FROM devices_attribs WHERE `device_id` = ? [265] 0.6ms] gw6420-tor-1.domain.es 265 gw-eydfa [FPING] /usr/sbin/fping -e -q -c 10 -p 500 -t 500 gw6420-tor-1.domain.es Array ( [xmt] => 10 [rcv] => 10 [loss] => 0 [min] => 0.31 [max] => 1.79 [avg] => 0.50 [exitcode] => 0 ) SQL[INSERT IGNORE INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW()) {"xmt":"10","rcv":"10","loss":"0","min":"0.31","max":"1.79","avg":"0.50","device_id":265} 1.03ms] SNMP Check response code: 0 SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ? [265,"poll_mib"] 0.62ms] MIB: registering Attempting to initialize OS: gw-eydfa OS initilized as Generic Modules status: Global+ OS Device #### Load disco module core #### SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OUQn -m SNMPv2-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 sysName.0 sysObjectID.0 sysDescr.0] .*.*.0 = HFC-OA .*.*.0 = .*.4.1.17409.1.11 .*.*.0 = GW-6420-WDM >> Runtime for discovery module 'core': 0.0240 seconds with 984 bytes >> SNMP: [2/0.08s] MySQL: [4/0.00s] RRD: [0/0.00s] #### Unload disco module core #### Modules status: Global+ OS+ Device #### Load disco module sensors #### Caching data: sensors SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 analogPropertyTable] analogParameterOID.*.**.0 = oaOutputOpticalPower.0 analogParameterOID.*.**.0 = oaInputOpticalPower.0 analogParameterOID.*.**.13.0 = commonInternalTemperature.0 analogParameterOID.*.**.1.2.1 = oaPumpBIAS.1 analogParameterOID.*.**.1.2.2 = oaPumpBIAS.2 analogParameterOID.*.**.1.3.1 = oaPumpTEC.1 analogParameterOID.*.**.1.4.1 = oaPumpTemp.1 analogParameterOID.*.**.1.2.1 = oaDCPowerVoltage.1 alarmEnable.*.**.0 = "0F " alarmEnable.*.**.0 = "0F " alarmEnable.*.**.13.0 = "0F " alarmEnable.*.**.1.2.1 = "0F " alarmEnable.*.**.1.2.2 = "0F " alarmEnable.*.**.1.3.1 = "0F " alarmEnable.*.**.1.4.1 = "0F " alarmEnable.*.**.1.2.1 = "0F " analogAlarmState.*.**.0 = 1 analogAlarmState.*.**.0 = 1 analogAlarmState.*.**.13.0 = 1 analogAlarmState.*.**.1.2.1 = 1 analogAlarmState.*.**.1.2.2 = 1 analogAlarmState.*.**.1.3.1 = 1 analogAlarmState.*.**.1.4.1 = 1 analogAlarmState.*.**.1.2.1 = 1 analogAlarmHIHI.*.**.0 = 270 analogAlarmHIHI.*.**.0 = 100 analogAlarmHIHI.*.**.13.0 = 85 analogAlarmHIHI.*.**.1.2.1 = 900 analogAlarmHIHI.*.**.1.2.2 = 15000 analogAlarmHIHI.*.**.1.3.1 = 200 analogAlarmHIHI.*.**.1.4.1 = 350 analogAlarmHIHI.*.**.1.2.1 = 65 analogAlarmHI.*.**.0 = 260 analogAlarmHI.*.**.0 = 80 analogAlarmHI.*.**.13.0 = 70 analogAlarmHI.*.**.1.2.1 = 800 analogAlarmHI.*.**.1.2.2 = 10000 analogAlarmHI.*.**.1.3.1 = 150 analogAlarmHI.*.**.1.4.1 = 300 analogAlarmHI.*.**.1.2.1 = 60 analogAlarmLO.*.**.0 = 110 analogAlarmLO.*.**.0 = -60 analogAlarmLO.*.**.13.0 = 5 analogAlarmLO.*.**.1.2.1 = 100 analogAlarmLO.*.**.1.2.2 = 100 analogAlarmLO.*.**.1.3.1 = -150 analogAlarmLO.*.**.1.4.1 = 200 analogAlarmLO.*.**.1.2.1 = 40 analogAlarmLOLO.*.**.0 = 100 analogAlarmLOLO.*.**.0 = -100 analogAlarmLOLO.*.**.13.0 = 0 analogAlarmLOLO.*.**.1.2.1 = 80 analogAlarmLOLO.*.**.1.2.2 = 80 analogAlarmLOLO.*.**.1.3.1 = -200 analogAlarmLOLO.*.**.1.4.1 = 150 analogAlarmLOLO.*.**.1.2.1 = 35 analogAlarmDeadband.*.**.0 = 5 analogAlarmDeadband.*.**.0 = 2 analogAlarmDeadband.*.**.13.0 = 2 analogAlarmDeadband.*.**.1.2.1 = 20 analogAlarmDeadband.*.**.1.2.2 = 20 analogAlarmDeadband.*.**.1.3.1 = 10 analogAlarmDeadband.*.**.1.4.1 = 10 analogAlarmDeadband.*.**.1.2.1 = 2 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 oaOutputOpticalPower] oaOutputOpticalPower.0 = 203 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 oaInputOpticalPower] oaInputOpticalPower.0 = 35 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 commonDeviceInternalTemperature] commonDeviceInternalTemperature.1 = 47 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 oaPumpTable] oaPumpIndex.1 = 1 oaPumpIndex.2 = 2 oaPumpBIAS.1 = 540 oaPumpBIAS.2 = 8230 oaPumpTEC.1 = 28 oaPumpTEC.2 = 0 oaPumpTemp.1 = 254 oaPumpTemp.2 = 0 SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 oaDCPowerTable] oaDCPowerIndex.1 = 1 oaDCPowerVoltage.1 = 48 oaDCPowerCurrent.1 = 0 oaDCPowerName.1 = "DC +5V" SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OteQUs -Ih -m NSCRTV-HFCEMS-PROPERTY-MIB:NSCRTV-HFCEMS-OPTICALAMPLIFIER-MIB:NSCRTV-HFCEMS-COMMON-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 discreteAlarmState] discreteAlarmState.*.**.0.2 = 1 discreteAlarmState.*.**.0.2 = 1 ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-MIB -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -t 2 -r 5 udp:HOSTNAME:161 entPhysicalDescr] entPhysicalDescr = No Such Object available on this agent at this OID SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ? [265,"ipmi_hostname"] 0.81ms] 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 = ? ["voltage",265,"ipmi"] 1.29ms] 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",265,"ipmi"] 0.81ms] 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 = ? ["fanspeed",265,"ipmi"] 0.72ms] 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 = ? ["power",265,"ipmi"] 0.74ms] Airflow: 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 = ? ["airflow",265,"snmp"] 0.7ms] Current: Dynamic Discovery (current): Array ( [options] => Array ( [skip_values] => 0 ) [data] => Array ( [0] => Array ( [oid] => oaPumpTable [num_oid] => .1.3.6.1.4.1.17409.1.11.4.1.2. [descr] => BIAS Pump - {{ $index }} [index] => oaPumpBIAS.{{ $index }} [value] => oaPumpBIAS [divisor] => 1000 ) [1] => Array ( [oid] => oaPumpTable [num_oid] => .1.3.6.1.4.1.17409.1.11.4.1.3. [descr] => TEC Pump - {{ $index }} [index] => oaPumpTEC.{{ $index }} [value] => oaPumpTEC [divisor] => 100 ) ) ) Data oaPumpTable: Array ( [1] => Array ( [oaPumpIndex] => 1 [oaPumpBIAS] => 540 [oaPumpTEC] => 28 [oaPumpTemp] => 254 ) [2] => Array ( [oaPumpIndex] => 2 [oaPumpBIAS] => 8230 [oaPumpTEC] => 0 [oaPumpTemp] => 0 ) ) Final sensor value: 540 Cur 540, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.4.1.2.1, oaPumpBIAS.1, gw-eydfa, BIAS Pump - 1, snmp, 1000, 1, , 0.54 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","current",265,"gw-eydfa","oaPumpBIAS.1"] 0.65ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["current",265,"gw-eydfa","oaPumpBIAS.1"] 0.67ms] .Final sensor value: 8230 Cur 8230, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.4.1.2.2, oaPumpBIAS.2, gw-eydfa, BIAS Pump - 2, snmp, 1000, 1, , 8.23 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","current",265,"gw-eydfa","oaPumpBIAS.2"] 0.51ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["current",265,"gw-eydfa","oaPumpBIAS.2"] 0.61ms] .Data oaPumpTable: Array ( [1] => Array ( [oaPumpIndex] => 1 [oaPumpBIAS] => 540 [oaPumpTEC] => 28 [oaPumpTemp] => 254 ) [2] => Array ( [oaPumpIndex] => 2 [oaPumpBIAS] => 8230 [oaPumpTEC] => 0 [oaPumpTemp] => 0 ) ) Final sensor value: 28 Cur 28, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.4.1.3.1, oaPumpTEC.1, gw-eydfa, TEC Pump - 1, snmp, 100, 1, , 0.28 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","current",265,"gw-eydfa","oaPumpTEC.1"] 0.56ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["current",265,"gw-eydfa","oaPumpTEC.1"] 0.65ms] .Final sensor value: 0 Array ( [gw-eydfa] => Array ( [oaPumpBIAS.1] => 1 [oaPumpBIAS.2] => 1 [oaPumpTEC.1] => 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 = ? ["current",265,"snmp"] 0.89ms] oaPumpBIAS.1 -> gw-eydfa oaPumpBIAS.2 -> gw-eydfa oaPumpTEC.1 -> gw-eydfa Charge: 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 = ? ["charge",265,"snmp"] 0.74ms] Dbm: Dynamic Discovery (dbm): Array ( [data] => Array ( [0] => Array ( [oid] => oaOutputOpticalPower [num_oid] => .1.3.6.1.4.1.17409.1.11.2. [descr] => Per Output Power [index] => oaOutputOpticalPower.{{ $index }} [value] => oaOutputOpticalPower [divisor] => 10 [low_limit] => {{ $analogAlarmLOLO }} [low_warn_limit] => {{ $analogAlarmLO.11.1.3.6.1.4.1.17409.1.11.2. }} [warn_limit] => {{ $analogAlarmHI.11.1.3.6.1.4.1.17409.1.11.2 }} [high_limit] => {{ $analogAlarmHIHI.11.1.3.6.1.4.1.17409.1.11.2.0 }} ) [1] => Array ( [oid] => oaInputOpticalPower [num_oid] => .1.3.6.1.4.1.17409.1.11.3. [descr] => Input Power [index] => oaInputOpticalPower.{{ $index }} [divisor] => 10 [low_limit] => analogAlarmLOLO.11.1.3.6.1.4.1.17409.1.11.3. [low_warn_limit] => analogAlarmLO.11.1.3.6.1.4.1.17409.1.11.3. [warn_limit] => analogAlarmHI.11.1.3.6.1.4.1.17409.1.11.3. [high_limit] => analogAlarmHIHI.11.1.3.6.1.4.1.17409.1.11.3. ) ) ) Data oaOutputOpticalPower: Array ( [0] => Array ( [oaOutputOpticalPower] => 203 ) ) Final sensor value: 203 Cur 203, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.2.0, oaOutputOpticalPower.0, gw-eydfa, Per Output Power, snmp, 10, 1, , 20.3 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","dbm",265,"gw-eydfa","oaOutputOpticalPower.0"] 0.53ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["dbm",265,"gw-eydfa","oaOutputOpticalPower.0"] 0.58ms] .Data oaInputOpticalPower: Array ( [0] => Array ( [oaInputOpticalPower] => 35 ) ) Final sensor value: 35 Cur 35, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.3.0, oaInputOpticalPower.0, gw-eydfa, Input Power, snmp, 10, 1, , 3.5 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","dbm",265,"gw-eydfa","oaInputOpticalPower.0"] 0.52ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["dbm",265,"gw-eydfa","oaInputOpticalPower.0"] 0.61ms] .Array ( [gw-eydfa] => Array ( [oaOutputOpticalPower.0] => 1 [oaInputOpticalPower.0] => 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 = ? ["dbm",265,"snmp"] 0.89ms] oaOutputOpticalPower.0 -> gw-eydfa oaInputOpticalPower.0 -> gw-eydfa Fanspeed: 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 = ? ["fanspeed",265,"snmp"] 0.78ms] Frequency: 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 = ? ["frequency",265,"snmp"] 0.74ms] Humidity: 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 = ? ["humidity",265,"snmp"] 0.72ms] Load: 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 = ? ["load",265,"snmp"] 0.81ms] Power: 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 = ? ["power",265,"snmp"] 0.74ms] Runtime: 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 = ? ["runtime",265,"snmp"] 0.72ms] Signal: 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 = ? ["signal",265,"snmp"] 0.68ms] State: Dynamic Discovery (state): Array ( [data] => Array ( [0] => Array ( [oid] => discreteAlarmState [num_oid] => .1.3.6.1.4.1.17409.1.1.2.1.4. [descr] => Power Supply 1 [index] => PowerSupply1 [state_name] => PowerSupplyState [states] => Array ( [0] => Array ( [value] => 1 [generic] => 0 [graph] => 0 [descr] => normal ) [1] => Array ( [value] => 7 [generic] => 1 [graph] => 0 [descr] => warning ) [2] => Array ( [value] => 6 [generic] => 2 [graph] => 0 [descr] => critical ) ) ) [1] => Array ( [oid] => discreteAlarmState [num_oid] => .1.3.6.1.4.1.17409.1.1.2.1.4. [descr] => Power Supply 2 [index] => PowerSupply2 [state_name] => PowerSupplyState [states] => Array ( [0] => Array ( [value] => 1 [generic] => 0 [graph] => 0 [descr] => normal ) [1] => Array ( [value] => 7 [generic] => 1 [graph] => 0 [descr] => warning ) [2] => Array ( [value] => 6 [generic] => 2 [graph] => 0 [descr] => critical ) ) ) ) ) Data discreteAlarmState: Array ( [11.1.3.6.1.4.1.17409.1.11.100.0.2] => Array ( [discreteAlarmState] => 1 ) [11.1.3.6.1.4.1.17409.1.11.101.0.2] => Array ( [discreteAlarmState] => 1 ) ) Final sensor value: 1 Cur 1, Low: null, Low Warn: null, Warn: null, High: null SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.4ms] SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`=? [146] 0.49ms] Discover sensor: .1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.100.0.2, PowerSupply1, PowerSupplyState, Power Supply 1, snmp, 1, 1, , 1 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","state",265,"PowerSupplyState","PowerSupply1"] 0.5ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.59ms] SQL[UPDATE `sensors` set `sensor_oid`=?,`sensor_descr`=?,`sensor_multiplier`=?,`sensor_divisor`=?,`entPhysicalIndex`=?,`entPhysicalIndex_measured`=?,`user_func`=? WHERE `sensor_id` = ? [".1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.100.0.2","Power Supply 1",1,1,null,null,null,1661] 0.55ms] USQL[INSERT IGNORE INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES (:host,:device_id,:reference,:type,NOW(),:severity,:message,:username) {"host":265,"device_id":265,"reference":"NULL","type":"sensor","severity":3,"message":"Sensor Updated: state PowerSupplyState PowerSupply1 Power Supply 1","username":""} 0.51ms] ( 1 updated ) SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.5ms] SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.34ms] SQL[INSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES (:sensor_id,:state_index_id) {"sensor_id":1661,"state_index_id":146} 0.52ms] Final sensor value: 1 Cur 1, Low: null, Low Warn: null, Warn: null, High: null SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.32ms] SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`=? [146] 0.36ms] Discover sensor: .1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.101.0.2, PowerSupply1, PowerSupplyState, Power Supply 1, snmp, 1, 1, , 1 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","state",265,"PowerSupplyState","PowerSupply1"] 0.53ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.59ms] SQL[UPDATE `sensors` set `sensor_oid`=?,`sensor_descr`=?,`sensor_multiplier`=?,`sensor_divisor`=?,`entPhysicalIndex`=?,`entPhysicalIndex_measured`=?,`user_func`=? WHERE `sensor_id` = ? [".1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.101.0.2","Power Supply 1",1,1,null,null,null,1661] 0.38ms] USQL[INSERT IGNORE INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES (:host,:device_id,:reference,:type,NOW(),:severity,:message,:username) {"host":265,"device_id":265,"reference":"NULL","type":"sensor","severity":3,"message":"Sensor Updated: state PowerSupplyState PowerSupply1 Power Supply 1","username":""} 0.36ms] ( 1 updated ) SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.48ms] SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.32ms] SQL[INSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES (:sensor_id,:state_index_id) {"sensor_id":1661,"state_index_id":146} 0.34ms] Data discreteAlarmState: Array ( [11.1.3.6.1.4.1.17409.1.11.100.0.2] => Array ( [discreteAlarmState] => 1 ) [11.1.3.6.1.4.1.17409.1.11.101.0.2] => Array ( [discreteAlarmState] => 1 ) ) Final sensor value: 1 Cur 1, Low: null, Low Warn: null, Warn: null, High: null SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.32ms] SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`=? [146] 0.38ms] Discover sensor: .1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.100.0.2, PowerSupply2, PowerSupplyState, Power Supply 2, snmp, 1, 1, , 1 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","state",265,"PowerSupplyState","PowerSupply2"] 0.55ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.62ms] SQL[UPDATE `sensors` set `sensor_oid`=?,`sensor_descr`=?,`sensor_multiplier`=?,`sensor_divisor`=?,`entPhysicalIndex`=?,`entPhysicalIndex_measured`=?,`user_func`=? WHERE `sensor_id` = ? [".1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.100.0.2","Power Supply 2",1,1,null,null,null,1662] 0.38ms] USQL[INSERT IGNORE INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES (:host,:device_id,:reference,:type,NOW(),:severity,:message,:username) {"host":265,"device_id":265,"reference":"NULL","type":"sensor","severity":3,"message":"Sensor Updated: state PowerSupplyState PowerSupply2 Power Supply 2","username":""} 0.35ms] ( 1 updated ) SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.51ms] SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.32ms] SQL[INSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES (:sensor_id,:state_index_id) {"sensor_id":1662,"state_index_id":146} 0.32ms] Final sensor value: 1 Cur 1, Low: null, Low Warn: null, Warn: null, High: null SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.35ms] SQL[SELECT `state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value` FROM `state_translations` WHERE `state_index_id`=? [146] 0.38ms] Discover sensor: .1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.101.0.2, PowerSupply2, PowerSupplyState, Power Supply 2, snmp, 1, 1, , 1 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","state",265,"PowerSupplyState","PowerSupply2"] 0.59ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.62ms] SQL[UPDATE `sensors` set `sensor_oid`=?,`sensor_descr`=?,`sensor_multiplier`=?,`sensor_divisor`=?,`entPhysicalIndex`=?,`entPhysicalIndex_measured`=?,`user_func`=? WHERE `sensor_id` = ? [".1.3.6.1.4.1.17409.1.1.2.1.4.11.1.3.6.1.4.1.17409.1.11.101.0.2","Power Supply 2",1,1,null,null,null,1662] 0.38ms] USQL[INSERT IGNORE INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES (:host,:device_id,:reference,:type,NOW(),:severity,:message,:username) {"host":265,"device_id":265,"reference":"NULL","type":"sensor","severity":3,"message":"Sensor Updated: state PowerSupplyState PowerSupply2 Power Supply 2","username":""} 0.34ms] ( 1 updated ) SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.51ms] SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.33ms] SQL[INSERT IGNORE INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES (:sensor_id,:state_index_id) {"sensor_id":1662,"state_index_id":146} 0.33ms] Array ( [PowerSupplyState] => Array ( [PowerSupply1] => 1 [PowerSupply2] => 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 = ? ["state",265,"snmp"] 0.86ms] PowerSupply1 -> PowerSupplyState PowerSupply2 -> PowerSupplyState Temperature: Dynamic Discovery (temperature): Array ( [options] => Array ( [skip_values] => 0 ) [data] => Array ( [0] => Array ( [oid] => commonDeviceInternalTemperature [num_oid] => .1.3.6.1.4.1.17409.1.3.3.2.2.1.12. [descr] => Internal Temperature [index] => commonDeviceInternalTemperature.{{ $index }} [value] => commonDeviceInternalTemperature [low_limit] => analogAlarmLOLO.12.1.3.6.1.4.1.17409.1.3.1.13.0 [low_warn_limit] => analogAlarmLO.12.1.3.6.1.4.1.17409.1.3.1.13.0 [warn_limit] => analogAlarmHI.12.1.3.6.1.4.1.17409.1.3.1.13.0 [high_limit] => analogAlarmHIHI.12.1.3.6.1.4.1.17409.1.3.1.13.0 ) [1] => Array ( [oid] => oaPumpTable [num_oid] => .1.3.6.1.4.1.17409.1.11.4.1.4. [value] => oaPumpTemp [descr] => Pump Temperature [index] => oaPumpTemp.{{ $index }} [divisor] => 10 ) ) ) Data commonDeviceInternalTemperature: Array ( [1] => Array ( [commonDeviceInternalTemperature] => 47 ) ) Final sensor value: 47 Cur 47, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.3.3.2.2.1.12.1, commonDeviceInternalTemperature.1, gw-eydfa, Internal Temperature, snmp, 1, 1, , 47 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","temperature",265,"gw-eydfa","commonDeviceInternalTemperature.1"] 0.59ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["temperature",265,"gw-eydfa","commonDeviceInternalTemperature.1"] 0.63ms] .Data oaPumpTable: Array ( [1] => Array ( [oaPumpIndex] => 1 [oaPumpBIAS] => 540 [oaPumpTEC] => 28 [oaPumpTemp] => 254 ) [2] => Array ( [oaPumpIndex] => 2 [oaPumpBIAS] => 8230 [oaPumpTEC] => 0 [oaPumpTemp] => 0 ) ) Final sensor value: 254 Cur 254, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.4.1.4.1, oaPumpTemp.1, gw-eydfa, Pump Temperature, snmp, 10, 1, , 25.4 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","temperature",265,"gw-eydfa","oaPumpTemp.1"] 0.62ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["temperature",265,"gw-eydfa","oaPumpTemp.1"] 0.62ms] .Final sensor value: 0 Array ( [gw-eydfa] => Array ( [commonDeviceInternalTemperature.1] => 1 [oaPumpTemp.1] => 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",265,"snmp"] 0.85ms] commonDeviceInternalTemperature.1 -> gw-eydfa oaPumpTemp.1 -> gw-eydfa Voltage: Dynamic Discovery (voltage): Array ( [data] => Array ( [0] => Array ( [oid] => oaDCPowerTable [num_oid] => .1.3.6.1.4.1.17409.1.11.7.1.2. [descr] => oaDCPowerName [index] => oaDCPowerVoltage.{{ $index }} [value] => oaDCPowerVoltage [divisor] => 10 ) ) ) Data oaDCPowerTable: Array ( [1] => Array ( [oaDCPowerIndex] => 1 [oaDCPowerVoltage] => 48 [oaDCPowerCurrent] => 0 [oaDCPowerName] => DC +5V ) ) Final sensor value: 48 Cur 48, Low: null, Low Warn: null, Warn: null, High: null Discover sensor: .1.3.6.1.4.1.17409.1.11.7.1.2.1, oaDCPowerVoltage.1, gw-eydfa, DC +5V, snmp, 10, 1, , 4.8 SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","voltage",265,"gw-eydfa","oaDCPowerVoltage.1"] 0.52ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["voltage",265,"gw-eydfa","oaDCPowerVoltage.1"] 0.61ms] .Array ( [gw-eydfa] => Array ( [oaDCPowerVoltage.1] => 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 = ? ["voltage",265,"snmp"] 0.83ms] oaDCPowerVoltage.1 -> gw-eydfa Snr: 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 = ? ["snr",265,"snmp"] 0.66ms] Pressure: 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 = ? ["pressure",265,"snmp"] 0.66ms] Cooling: 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 = ? ["cooling",265,"snmp"] 0.68ms] Delay: 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 = ? ["delay",265,"snmp"] 0.69ms] Quality_factor: 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 = ? ["quality_factor",265,"snmp"] 0.66ms] Chromatic_dispersion: 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 = ? ["chromatic_dispersion",265,"snmp"] 0.66ms] Ber: 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 = ? ["ber",265,"snmp"] 0.65ms] Eer: 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 = ? ["eer",265,"snmp"] 0.65ms] Waterflow: 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 = ? ["waterflow",265,"snmp"] 0.68ms] >> Runtime for discovery module 'sensors': 0.2790 seconds with 63872 bytes >> SNMP: [8/0.20s] MySQL: [64/0.05s] RRD: [0/0.00s] #### Unload disco module sensors #### SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ? [265,"poll_mib"] 0.38ms] SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ? [265,"poll_mib"] 0.36ms] MIB: registering SNMP[snmptranslate -M /opt/dev_librenms/mibs:/opt/dev_librenms/mibs/glassway -IR -m all .1.3.6.1.4.1.17409.1.11 2>/dev/null] This doesn't look like a MIB: MIB: Could not find all::.1.3.6.1.4.1.17409.1.11 SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [5.5830000000000002,265] 0.85ms] Discovered in 5.583 seconds SQL[INSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES (:type,:doing,:start,:duration,:devices,:poller) {"type":"discover","doing":"265","start":1537276481.8471351,"duration":"7.323","devices":1,"poller":"librenms.domain.es"} 0.47ms] ./discovery.php 265 2018-09-18 15:14:49 - 1 devices discovered in 7.323 secs SNMP [10/0.28s]: Get[2/0.08s] Getnext[0/0.00s] Walk[8/0.20s] MySQL [72/0.05s]: Cell[17/0.01s] Row[7/0.01s] Rows[33/0.03s] Column[0/0.00s] Update[5/0.00s] Insert[10/0.01s] Delete[0/0.00s] RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]