From Whipped Coyote, 5 Years ago, written in Plain Text.
Embed
  1. -bash-4.2$ ./discovery.php -d -h 265 -m sensors
  2. LibreNMS Discovery
  3. SQL[select `version` from `dbSchema` order by `version` desc limit 1 [] 44.56ms]
  4. SQL[SELECT version() [] 0.29ms]
  5. ===================================
  6. Version info:
  7. Commit SHA: d17eb4faaadbc0f58eeddf03da948a276a717a7a
  8. Commit Date: 1535957734
  9. DB Schema: 267
  10. PHP: 7.2.8
  11. MySQL: 5.5.56-MariaDB
  12. RRDTool: 1.4.8
  13. SNMP: NET-SNMP 5.7.2
  14. ==================================DEBUG!
  15. Updating os_def.cache... Done
  16. Override discovery modules: sensors
  17. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `device_id` = '265' ORDER BY device_id DESC [] 1.03ms]
  18. SQL[SELECT * FROM devices_attribs WHERE `device_id` = ? [265] 0.6ms]
  19. 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
  20. Array
  21. (
  22.     [xmt] => 10
  23.     [rcv] => 10
  24.     [loss] => 0
  25.     [min] => 0.31
  26.     [max] => 1.79
  27.     [avg] => 0.50
  28.     [exitcode] => 0
  29. )
  30. 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]
  31. SNMP Check response code: 0
  32. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [265,"poll_mib"] 0.62ms]
  33. MIB: registering
  34.  
  35. Attempting to initialize OS: gw-eydfa
  36. OS initilized as Generic
  37.  
  38. Modules status: Global+ OS  Device
  39. #### Load disco module core ####
  40. 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]
  41. .*.*.0 = HFC-OA
  42. .*.*.0 = .*.4.1.17409.1.11
  43. .*.*.0 = GW-6420-WDM
  44.  
  45.  
  46. >> Runtime for discovery module 'core': 0.0240 seconds with 984 bytes
  47. >> SNMP: [2/0.08s] MySQL: [4/0.00s] RRD: [0/0.00s]
  48. #### Unload disco module core ####
  49.  
  50. Modules status: Global+ OS+ Device
  51. #### Load disco module sensors ####
  52. 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]
  53. analogParameterOID.*.**.0 = oaOutputOpticalPower.0
  54. analogParameterOID.*.**.0 = oaInputOpticalPower.0
  55. analogParameterOID.*.**.13.0 = commonInternalTemperature.0
  56. analogParameterOID.*.**.1.2.1 = oaPumpBIAS.1
  57. analogParameterOID.*.**.1.2.2 = oaPumpBIAS.2
  58. analogParameterOID.*.**.1.3.1 = oaPumpTEC.1
  59. analogParameterOID.*.**.1.4.1 = oaPumpTemp.1
  60. analogParameterOID.*.**.1.2.1 = oaDCPowerVoltage.1
  61. alarmEnable.*.**.0 = "0F "
  62. alarmEnable.*.**.0 = "0F "
  63. alarmEnable.*.**.13.0 = "0F "
  64. alarmEnable.*.**.1.2.1 = "0F "
  65. alarmEnable.*.**.1.2.2 = "0F "
  66. alarmEnable.*.**.1.3.1 = "0F "
  67. alarmEnable.*.**.1.4.1 = "0F "
  68. alarmEnable.*.**.1.2.1 = "0F "
  69. analogAlarmState.*.**.0 = 1
  70. analogAlarmState.*.**.0 = 1
  71. analogAlarmState.*.**.13.0 = 1
  72. analogAlarmState.*.**.1.2.1 = 1
  73. analogAlarmState.*.**.1.2.2 = 1
  74. analogAlarmState.*.**.1.3.1 = 1
  75. analogAlarmState.*.**.1.4.1 = 1
  76. analogAlarmState.*.**.1.2.1 = 1
  77. analogAlarmHIHI.*.**.0 = 270
  78. analogAlarmHIHI.*.**.0 = 100
  79. analogAlarmHIHI.*.**.13.0 = 85
  80. analogAlarmHIHI.*.**.1.2.1 = 900
  81. analogAlarmHIHI.*.**.1.2.2 = 15000
  82. analogAlarmHIHI.*.**.1.3.1 = 200
  83. analogAlarmHIHI.*.**.1.4.1 = 350
  84. analogAlarmHIHI.*.**.1.2.1 = 65
  85. analogAlarmHI.*.**.0 = 260
  86. analogAlarmHI.*.**.0 = 80
  87. analogAlarmHI.*.**.13.0 = 70
  88. analogAlarmHI.*.**.1.2.1 = 800
  89. analogAlarmHI.*.**.1.2.2 = 10000
  90. analogAlarmHI.*.**.1.3.1 = 150
  91. analogAlarmHI.*.**.1.4.1 = 300
  92. analogAlarmHI.*.**.1.2.1 = 60
  93. analogAlarmLO.*.**.0 = 110
  94. analogAlarmLO.*.**.0 = -60
  95. analogAlarmLO.*.**.13.0 = 5
  96. analogAlarmLO.*.**.1.2.1 = 100
  97. analogAlarmLO.*.**.1.2.2 = 100
  98. analogAlarmLO.*.**.1.3.1 = -150
  99. analogAlarmLO.*.**.1.4.1 = 200
  100. analogAlarmLO.*.**.1.2.1 = 40
  101. analogAlarmLOLO.*.**.0 = 100
  102. analogAlarmLOLO.*.**.0 = -100
  103. analogAlarmLOLO.*.**.13.0 = 0
  104. analogAlarmLOLO.*.**.1.2.1 = 80
  105. analogAlarmLOLO.*.**.1.2.2 = 80
  106. analogAlarmLOLO.*.**.1.3.1 = -200
  107. analogAlarmLOLO.*.**.1.4.1 = 150
  108. analogAlarmLOLO.*.**.1.2.1 = 35
  109. analogAlarmDeadband.*.**.0 = 5
  110. analogAlarmDeadband.*.**.0 = 2
  111. analogAlarmDeadband.*.**.13.0 = 2
  112. analogAlarmDeadband.*.**.1.2.1 = 20
  113. analogAlarmDeadband.*.**.1.2.2 = 20
  114. analogAlarmDeadband.*.**.1.3.1 = 10
  115. analogAlarmDeadband.*.**.1.4.1 = 10
  116. analogAlarmDeadband.*.**.1.2.1 = 2
  117.  
  118. 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]
  119. oaOutputOpticalPower.0 = 203
  120.  
  121. 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]
  122. oaInputOpticalPower.0 = 35
  123.  
  124. 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]
  125. commonDeviceInternalTemperature.1 = 47
  126.  
  127. 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]
  128. oaPumpIndex.1 = 1
  129. oaPumpIndex.2 = 2
  130. oaPumpBIAS.1 = 540
  131. oaPumpBIAS.2 = 8230
  132. oaPumpTEC.1 = 28
  133. oaPumpTEC.2 = 0
  134. oaPumpTemp.1 = 254
  135. oaPumpTemp.2 = 0
  136.  
  137. 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]
  138. oaDCPowerIndex.1 = 1
  139. oaDCPowerVoltage.1 = 48
  140. oaDCPowerCurrent.1 = 0
  141. oaDCPowerName.1 = "DC +5V"
  142.  
  143. 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]
  144. discreteAlarmState.*.**.0.2 = 1
  145. discreteAlarmState.*.**.0.2 = 1
  146.  
  147.  
  148.  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]
  149. entPhysicalDescr = No Such Object available on this agent at this OID
  150.  
  151.  
  152. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [265,"ipmi_hostname"] 0.81ms]
  153. 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]
  154. 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]
  155. 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]
  156. 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]
  157. 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]
  158.  
  159. Current: Dynamic Discovery (current): Array
  160. (
  161.     [options] => Array
  162.         (
  163.             [skip_values] => 0
  164.         )
  165.  
  166.     [data] => Array
  167.         (
  168.             [0] => Array
  169.                 (
  170.                     [oid] => oaPumpTable
  171.                     [num_oid] => .1.3.6.1.4.1.17409.1.11.4.1.2.
  172.                     [descr] => BIAS Pump - {{ $index }}
  173.                     [index] => oaPumpBIAS.{{ $index }}
  174.                     [value] => oaPumpBIAS
  175.                     [divisor] => 1000
  176.                 )
  177.  
  178.             [1] => Array
  179.                 (
  180.                     [oid] => oaPumpTable
  181.                     [num_oid] => .1.3.6.1.4.1.17409.1.11.4.1.3.
  182.                     [descr] => TEC Pump - {{ $index }}
  183.                     [index] => oaPumpTEC.{{ $index }}
  184.                     [value] => oaPumpTEC
  185.                     [divisor] => 100
  186.                 )
  187.  
  188.         )
  189.  
  190. )
  191. Data oaPumpTable: Array
  192. (
  193.     [1] => Array
  194.         (
  195.             [oaPumpIndex] => 1
  196.             [oaPumpBIAS] => 540
  197.             [oaPumpTEC] => 28
  198.             [oaPumpTemp] => 254
  199.         )
  200.  
  201.     [2] => Array
  202.         (
  203.             [oaPumpIndex] => 2
  204.             [oaPumpBIAS] => 8230
  205.             [oaPumpTEC] => 0
  206.             [oaPumpTemp] => 0
  207.         )
  208.  
  209. )
  210. Final sensor value: 540
  211. Cur 540, Low: null, Low Warn: null, Warn: null, High: null
  212. 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
  213. 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]
  214. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["current",265,"gw-eydfa","oaPumpBIAS.1"] 0.67ms]
  215. .Final sensor value: 8230
  216. Cur 8230, Low: null, Low Warn: null, Warn: null, High: null
  217. 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
  218. 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]
  219. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["current",265,"gw-eydfa","oaPumpBIAS.2"] 0.61ms]
  220. .Data oaPumpTable: Array
  221. (
  222.     [1] => Array
  223.         (
  224.             [oaPumpIndex] => 1
  225.             [oaPumpBIAS] => 540
  226.             [oaPumpTEC] => 28
  227.             [oaPumpTemp] => 254
  228.         )
  229.  
  230.     [2] => Array
  231.         (
  232.             [oaPumpIndex] => 2
  233.             [oaPumpBIAS] => 8230
  234.             [oaPumpTEC] => 0
  235.             [oaPumpTemp] => 0
  236.         )
  237.  
  238. )
  239. Final sensor value: 28
  240. Cur 28, Low: null, Low Warn: null, Warn: null, High: null
  241. 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
  242. 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]
  243. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["current",265,"gw-eydfa","oaPumpTEC.1"] 0.65ms]
  244. .Final sensor value: 0
  245. Array
  246. (
  247.     [gw-eydfa] => Array
  248.         (
  249.             [oaPumpBIAS.1] => 1
  250.             [oaPumpBIAS.2] => 1
  251.             [oaPumpTEC.1] => 1
  252.         )
  253.  
  254. )
  255. 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]
  256. oaPumpBIAS.1 -> gw-eydfa
  257. oaPumpBIAS.2 -> gw-eydfa
  258. oaPumpTEC.1 -> gw-eydfa
  259.  
  260. 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]
  261.  
  262. Dbm: Dynamic Discovery (dbm): Array
  263. (
  264.     [data] => Array
  265.         (
  266.             [0] => Array
  267.                 (
  268.                     [oid] => oaOutputOpticalPower
  269.                     [num_oid] => .1.3.6.1.4.1.17409.1.11.2.
  270.                     [descr] => Per Output Power
  271.                     [index] => oaOutputOpticalPower.{{ $index }}
  272.                     [value] => oaOutputOpticalPower
  273.                     [divisor] => 10
  274.                     [low_limit] => {{ $analogAlarmLOLO }}
  275.                     [low_warn_limit] => {{ $analogAlarmLO.11.1.3.6.1.4.1.17409.1.11.2. }}
  276.                     [warn_limit] => {{ $analogAlarmHI.11.1.3.6.1.4.1.17409.1.11.2 }}
  277.                     [high_limit] => {{ $analogAlarmHIHI.11.1.3.6.1.4.1.17409.1.11.2.0 }}
  278.                 )
  279.  
  280.             [1] => Array
  281.                 (
  282.                     [oid] => oaInputOpticalPower
  283.                     [num_oid] => .1.3.6.1.4.1.17409.1.11.3.
  284.                     [descr] => Input Power
  285.                     [index] => oaInputOpticalPower.{{ $index }}
  286.                     [divisor] => 10
  287.                     [low_limit] => analogAlarmLOLO.11.1.3.6.1.4.1.17409.1.11.3.
  288.                     [low_warn_limit] => analogAlarmLO.11.1.3.6.1.4.1.17409.1.11.3.
  289.                     [warn_limit] => analogAlarmHI.11.1.3.6.1.4.1.17409.1.11.3.
  290.                     [high_limit] => analogAlarmHIHI.11.1.3.6.1.4.1.17409.1.11.3.
  291.                 )
  292.  
  293.         )
  294.  
  295. )
  296. Data oaOutputOpticalPower: Array
  297. (
  298.     [0] => Array
  299.         (
  300.             [oaOutputOpticalPower] => 203
  301.         )
  302.  
  303. )
  304. Final sensor value: 203
  305. Cur 203, Low: null, Low Warn: null, Warn: null, High: null
  306. 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
  307. 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]
  308. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["dbm",265,"gw-eydfa","oaOutputOpticalPower.0"] 0.58ms]
  309. .Data oaInputOpticalPower: Array
  310. (
  311.     [0] => Array
  312.         (
  313.             [oaInputOpticalPower] => 35
  314.         )
  315.  
  316. )
  317. Final sensor value: 35
  318. Cur 35, Low: null, Low Warn: null, Warn: null, High: null
  319. Discover sensor: .1.3.6.1.4.1.17409.1.11.3.0, oaInputOpticalPower.0, gw-eydfa, Input Power, snmp, 10, 1, , 3.5
  320. 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]
  321. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["dbm",265,"gw-eydfa","oaInputOpticalPower.0"] 0.61ms]
  322. .Array
  323. (
  324.     [gw-eydfa] => Array
  325.         (
  326.             [oaOutputOpticalPower.0] => 1
  327.             [oaInputOpticalPower.0] => 1
  328.         )
  329.  
  330. )
  331. 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]
  332. oaOutputOpticalPower.0 -> gw-eydfa
  333. oaInputOpticalPower.0 -> gw-eydfa
  334.  
  335. 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]
  336.  
  337. 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]
  338.  
  339. 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]
  340.  
  341. 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]
  342.  
  343. 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]
  344.  
  345. 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]
  346.  
  347. 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]
  348.  
  349. State: Dynamic Discovery (state): Array
  350. (
  351.     [data] => Array
  352.         (
  353.             [0] => Array
  354.                 (
  355.                     [oid] => discreteAlarmState
  356.                     [num_oid] => .1.3.6.1.4.1.17409.1.1.2.1.4.
  357.                     [descr] => Power Supply 1
  358.                     [index] => PowerSupply1
  359.                     [state_name] => PowerSupplyState
  360.                     [states] => Array
  361.                         (
  362.                             [0] => Array
  363.                                 (
  364.                                     [value] => 1
  365.                                     [generic] => 0
  366.                                     [graph] => 0
  367.                                     [descr] => normal
  368.                                 )
  369.  
  370.                             [1] => Array
  371.                                 (
  372.                                     [value] => 7
  373.                                     [generic] => 1
  374.                                     [graph] => 0
  375.                                     [descr] => warning
  376.                                 )
  377.  
  378.                             [2] => Array
  379.                                 (
  380.                                     [value] => 6
  381.                                     [generic] => 2
  382.                                     [graph] => 0
  383.                                     [descr] => critical
  384.                                 )
  385.  
  386.                         )
  387.  
  388.                 )
  389.  
  390.             [1] => Array
  391.                 (
  392.                     [oid] => discreteAlarmState
  393.                     [num_oid] => .1.3.6.1.4.1.17409.1.1.2.1.4.
  394.                     [descr] => Power Supply 2
  395.                     [index] => PowerSupply2
  396.                     [state_name] => PowerSupplyState
  397.                     [states] => Array
  398.                         (
  399.                             [0] => Array
  400.                                 (
  401.                                     [value] => 1
  402.                                     [generic] => 0
  403.                                     [graph] => 0
  404.                                     [descr] => normal
  405.                                 )
  406.  
  407.                             [1] => Array
  408.                                 (
  409.                                     [value] => 7
  410.                                     [generic] => 1
  411.                                     [graph] => 0
  412.                                     [descr] => warning
  413.                                 )
  414.  
  415.                             [2] => Array
  416.                                 (
  417.                                     [value] => 6
  418.                                     [generic] => 2
  419.                                     [graph] => 0
  420.                                     [descr] => critical
  421.                                 )
  422.  
  423.                         )
  424.  
  425.                 )
  426.  
  427.         )
  428.  
  429. )
  430. Data discreteAlarmState: Array
  431. (
  432.     [11.1.3.6.1.4.1.17409.1.11.100.0.2] => Array
  433.         (
  434.             [discreteAlarmState] => 1
  435.         )
  436.  
  437.     [11.1.3.6.1.4.1.17409.1.11.101.0.2] => Array
  438.         (
  439.             [discreteAlarmState] => 1
  440.         )
  441.  
  442. )
  443. Final sensor value: 1
  444. Cur 1, Low: null, Low Warn: null, Warn: null, High: null
  445. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.4ms]
  446. 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]
  447. 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
  448. 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]
  449. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.59ms]
  450. 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]
  451. 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]
  452. ( 1 updated )
  453. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.5ms]
  454. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.34ms]
  455. 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]
  456. Final sensor value: 1
  457. Cur 1, Low: null, Low Warn: null, Warn: null, High: null
  458. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.32ms]
  459. 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]
  460. 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
  461. 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]
  462. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.59ms]
  463. 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]
  464. 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]
  465. ( 1 updated )
  466. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply1"] 0.48ms]
  467. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.32ms]
  468. 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]
  469. Data discreteAlarmState: Array
  470. (
  471.     [11.1.3.6.1.4.1.17409.1.11.100.0.2] => Array
  472.         (
  473.             [discreteAlarmState] => 1
  474.         )
  475.  
  476.     [11.1.3.6.1.4.1.17409.1.11.101.0.2] => Array
  477.         (
  478.             [discreteAlarmState] => 1
  479.         )
  480.  
  481. )
  482. Final sensor value: 1
  483. Cur 1, Low: null, Low Warn: null, Warn: null, High: null
  484. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.32ms]
  485. 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]
  486. 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
  487. 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]
  488. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.62ms]
  489. 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]
  490. 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]
  491. ( 1 updated )
  492. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.51ms]
  493. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.32ms]
  494. 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]
  495. Final sensor value: 1
  496. Cur 1, Low: null, Low Warn: null, Warn: null, High: null
  497. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = ? LIMIT 1 ["PowerSupplyState"] 0.35ms]
  498. 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]
  499. 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
  500. 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]
  501. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.62ms]
  502. 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]
  503. 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]
  504. ( 1 updated )
  505. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["state",265,"PowerSupplyState","PowerSupply2"] 0.51ms]
  506. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = ? ["PowerSupplyState"] 0.33ms]
  507. 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]
  508. Array
  509. (
  510.     [PowerSupplyState] => Array
  511.         (
  512.             [PowerSupply1] => 1
  513.             [PowerSupply2] => 1
  514.         )
  515.  
  516. )
  517. 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]
  518. PowerSupply1 -> PowerSupplyState
  519. PowerSupply2 -> PowerSupplyState
  520.  
  521. Temperature: Dynamic Discovery (temperature): Array
  522. (
  523.     [options] => Array
  524.         (
  525.             [skip_values] => 0
  526.         )
  527.  
  528.     [data] => Array
  529.         (
  530.             [0] => Array
  531.                 (
  532.                     [oid] => commonDeviceInternalTemperature
  533.                     [num_oid] => .1.3.6.1.4.1.17409.1.3.3.2.2.1.12.
  534.                     [descr] => Internal Temperature
  535.                     [index] => commonDeviceInternalTemperature.{{ $index }}
  536.                     [value] => commonDeviceInternalTemperature
  537.                     [low_limit] => analogAlarmLOLO.12.1.3.6.1.4.1.17409.1.3.1.13.0
  538.                     [low_warn_limit] => analogAlarmLO.12.1.3.6.1.4.1.17409.1.3.1.13.0
  539.                     [warn_limit] => analogAlarmHI.12.1.3.6.1.4.1.17409.1.3.1.13.0
  540.                     [high_limit] => analogAlarmHIHI.12.1.3.6.1.4.1.17409.1.3.1.13.0
  541.                 )
  542.  
  543.             [1] => Array
  544.                 (
  545.                     [oid] => oaPumpTable
  546.                     [num_oid] => .1.3.6.1.4.1.17409.1.11.4.1.4.
  547.                     [value] => oaPumpTemp
  548.                     [descr] => Pump Temperature
  549.                     [index] => oaPumpTemp.{{ $index }}
  550.                     [divisor] => 10
  551.                 )
  552.  
  553.         )
  554.  
  555. )
  556. Data commonDeviceInternalTemperature: Array
  557. (
  558.     [1] => Array
  559.         (
  560.             [commonDeviceInternalTemperature] => 47
  561.         )
  562.  
  563. )
  564. Final sensor value: 47
  565. Cur 47, Low: null, Low Warn: null, Warn: null, High: null
  566. 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
  567. 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]
  568. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["temperature",265,"gw-eydfa","commonDeviceInternalTemperature.1"] 0.63ms]
  569. .Data oaPumpTable: Array
  570. (
  571.     [1] => Array
  572.         (
  573.             [oaPumpIndex] => 1
  574.             [oaPumpBIAS] => 540
  575.             [oaPumpTEC] => 28
  576.             [oaPumpTemp] => 254
  577.         )
  578.  
  579.     [2] => Array
  580.         (
  581.             [oaPumpIndex] => 2
  582.             [oaPumpBIAS] => 8230
  583.             [oaPumpTEC] => 0
  584.             [oaPumpTemp] => 0
  585.         )
  586.  
  587. )
  588. Final sensor value: 254
  589. Cur 254, Low: null, Low Warn: null, Warn: null, High: null
  590. 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
  591. 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]
  592. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["temperature",265,"gw-eydfa","oaPumpTemp.1"] 0.62ms]
  593. .Final sensor value: 0
  594. Array
  595. (
  596.     [gw-eydfa] => Array
  597.         (
  598.             [commonDeviceInternalTemperature.1] => 1
  599.             [oaPumpTemp.1] => 1
  600.         )
  601.  
  602. )
  603. 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]
  604. commonDeviceInternalTemperature.1 -> gw-eydfa
  605. oaPumpTemp.1 -> gw-eydfa
  606.  
  607. Voltage: Dynamic Discovery (voltage): Array
  608. (
  609.     [data] => Array
  610.         (
  611.             [0] => Array
  612.                 (
  613.                     [oid] => oaDCPowerTable
  614.                     [num_oid] => .1.3.6.1.4.1.17409.1.11.7.1.2.
  615.                     [descr] => oaDCPowerName
  616.                     [index] => oaDCPowerVoltage.{{ $index }}
  617.                     [value] => oaDCPowerVoltage
  618.                     [divisor] => 10
  619.                 )
  620.  
  621.         )
  622.  
  623. )
  624. Data oaDCPowerTable: Array
  625. (
  626.     [1] => Array
  627.         (
  628.             [oaDCPowerIndex] => 1
  629.             [oaDCPowerVoltage] => 48
  630.             [oaDCPowerCurrent] => 0
  631.             [oaDCPowerName] => DC +5V
  632.         )
  633.  
  634. )
  635. Final sensor value: 48
  636. Cur 48, Low: null, Low Warn: null, Warn: null, High: null
  637. 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
  638. 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]
  639. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["voltage",265,"gw-eydfa","oaDCPowerVoltage.1"] 0.61ms]
  640. .Array
  641. (
  642.     [gw-eydfa] => Array
  643.         (
  644.             [oaDCPowerVoltage.1] => 1
  645.         )
  646.  
  647. )
  648. 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]
  649. oaDCPowerVoltage.1 -> gw-eydfa
  650.  
  651. 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]
  652.  
  653. 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]
  654.  
  655. 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]
  656.  
  657. 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]
  658.  
  659. 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]
  660.  
  661. 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]
  662.  
  663. 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]
  664.  
  665. 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]
  666.  
  667. 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]
  668.  
  669.  
  670. >> Runtime for discovery module 'sensors': 0.2790 seconds with 63872 bytes
  671. >> SNMP: [8/0.20s] MySQL: [64/0.05s] RRD: [0/0.00s]
  672. #### Unload disco module sensors ####
  673.  
  674. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [265,"poll_mib"] 0.38ms]
  675. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = ? AND `attrib_type` = ?  [265,"poll_mib"] 0.36ms]
  676. MIB: registering
  677. 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]
  678.  
  679. This doesn't look like a MIB:
  680. MIB: Could not find all::.1.3.6.1.4.1.17409.1.11
  681.  
  682. SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [5.5830000000000002,265] 0.85ms]
  683. Discovered in 5.583 seconds
  684.  
  685. 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]
  686. ./discovery.php 265 2018-09-18 15:14:49 - 1 devices discovered in 7.323 secs
  687. SNMP [10/0.28s]: Get[2/0.08s] Getnext[0/0.00s] Walk[8/0.20s]
  688. 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]
  689. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]