Advertisement
Guest User

Untitled

a guest
May 2nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.82 KB | None | 0 0
  1. LibreNMS Discovery
  2. ===================================
  3. Version info:
  4. Commit SHA: ceae5139bfbc7b22a0694b8d8f7eb1d99773f06e
  5. Commit Date: 1493708129
  6. DB Schema: 188
  7. PHP: 5.5.9-1ubuntu4.21
  8. MySQL: 5.5.55-0ubuntu0.14.04.1
  9. RRDTool: 1.4.7
  10. SNMP: NET-SNMP 5.7.2
  11. ==================================DEBUG!
  12. SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1]
  13. DB Schema already up to date.
  14. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'MOJVCABKWAP_1408.race.com' ORDER BY device_id DESC]
  15. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '203']
  16. mojvcabkwap_1408.race.com 203 extendair SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','175','195','186','203',NOW())]
  17. SNMP Check response code: 0
  18.  
  19. Modules status: Global+ OS Device
  20. #### Load disco module sensors ####
  21. ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 entPhysicalDescr]
  22. entPhysicalDescr = No Such Object available on this agent at this OID
  23.  
  24. entPhysicalNameSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 entPhysicalName]
  25. entPhysicalName = No Such Object available on this agent at this OID
  26.  
  27. entPhySensorTypeSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 entPhySensorType]
  28. entPhySensorType = No Such Object available on this agent at this OID
  29.  
  30. entPhySensorScaleSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 entPhySensorScale]
  31. entPhySensorScale = No Such Object available on this agent at this OID
  32.  
  33. entPhySensorPrecisionSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 entPhySensorPrecision]
  34. entPhySensorPrecision = No Such Object available on this agent at this OID
  35.  
  36. entPhySensorValueSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 entPhySensorValue]
  37. entPhySensorValue = No Such Object available on this agent at this OID
  38.  
  39.  
  40. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '203' AND `attrib_type` = 'ipmi_hostname' ]
  41. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'ipmi']
  42. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'ipmi']
  43. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'ipmi']
  44. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'ipmi']
  45. Airflow: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='airflow' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  46.  
  47. Current: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='current' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  48.  
  49. Charge: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='charge' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  50.  
  51. Dbm: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='dbm' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  52.  
  53. Fanspeed: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='fanspeed' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  54.  
  55. Frequency: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='frequency' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  56.  
  57. Humidity: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='humidity' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  58.  
  59. Load: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='load' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  60.  
  61. Power: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='power' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  62.  
  63. Runtime: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='runtime' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  64.  
  65. Signal: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='signal' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  66.  
  67. State: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 remLinkState.0]
  68. 0
  69.  
  70. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'remLinkState' LIMIT 1]
  71. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '37557']
  72. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.4.1.1.0, remLinkState, remLinkState, Link status (far end radio), snmp, 1, 1, , 0
  73. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '203' AND sensor_type = 'remLinkState' AND `sensor_index` = 'remLinkState']
  74. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'remLinkState' AND `sensor_index` = 'remLinkState']
  75. SQL[UPDATE `sensors` set `sensor_oid` ='.1.3.6.1.4.1.25651.1.2.4.2.4.1.1.0',`sensor_descr` ='Link status (far end radio)',`sensor_multiplier` ='1',`sensor_divisor` ='1',`entPhysicalIndex` ='',`entPhysicalIndex_measured` ='' WHERE `sensor_id` = '4202']
  76. USQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('203','203','NULL','sensor',NOW(),'3','Sensor Updated: state remLinkState remLinkState Link status (far end radio)','')]
  77. ( 1 updated )
  78. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'remLinkState' AND `sensor_index` = 'remLinkState']
  79. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'remLinkState']
  80. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('4202','37557')]
  81. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 locLinkState.0]
  82. 0
  83.  
  84. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'locLinkState' LIMIT 1]
  85. SQL[INSERT INTO `state_indexes` (`state_name`) VALUES ('locLinkState')]
  86. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almNORMAL','1','0','0')]
  87. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almMINOR','1','1','1')]
  88. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almMAJOR','1','2','2')]
  89. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almDisable','1','3','1')]
  90. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almNotAvailable','1','4','1')]
  91. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almClearChanel','1','5','1')]
  92. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37560','almNonOccupant','1','6','1')]
  93. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.3.1.1.0, locLinkState, locLinkState, Link status (local radio), snmp, 1, 1, , 0
  94. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '203' AND sensor_type = 'locLinkState' AND `sensor_index` = 'locLinkState']
  95. SQL[INSERT INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_current`) VALUES ('snmp','state','203','.1.3.6.1.4.1.25651.1.2.4.2.3.1.1.0','locLinkState','locLinkState','Link status (local radio)','1','1','0')]
  96. ( 4226 inserted )
  97. +SQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('203','203','4226','sensor',NOW(),'3','Sensor Added: state locLinkState locLinkState Link status (local radio)','')]
  98. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'locLinkState' AND `sensor_index` = 'locLinkState']
  99. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'locLinkState']
  100. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('4226','37560')]
  101. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 locTempAlarm.0]
  102. 0
  103.  
  104. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'locTempAlarm' LIMIT 1]
  105. SQL[INSERT INTO `state_indexes` (`state_name`) VALUES ('locTempAlarm')]
  106. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almNORMAL','1','0','0')]
  107. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almMINOR','1','1','1')]
  108. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almMAJOR','1','2','2')]
  109. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almDisable','1','3','1')]
  110. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almNotAvailable','1','4','1')]
  111. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almClearChanel','1','5','1')]
  112. SQL[INSERT INTO `state_translations` (`state_index_id`,`state_descr`,`state_draw_graph`,`state_value`,`state_generic_value`) VALUES ('37561','almNonOccupant','1','6','1')]
  113. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.3.1.2.0, locTempAlarm, locTempAlarm, Temperature status (local radio), snmp, 1, 1, , 0
  114. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '203' AND sensor_type = 'locTempAlarm' AND `sensor_index` = 'locTempAlarm']
  115. SQL[INSERT INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_current`) VALUES ('snmp','state','203','.1.3.6.1.4.1.25651.1.2.4.2.3.1.2.0','locTempAlarm','locTempAlarm','Temperature status (local radio)','1','1','0')]
  116. ( 4227 inserted )
  117. +SQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('203','203','4227','sensor',NOW(),'3','Sensor Added: state locTempAlarm locTempAlarm Temperature status (local radio)','')]
  118. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'locTempAlarm' AND `sensor_index` = 'locTempAlarm']
  119. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'locTempAlarm']
  120. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('4227','37561')]
  121. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 remTempAlarm.0]
  122. 0
  123.  
  124. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'remTempAlarm' LIMIT 1]
  125. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '37558']
  126. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.4.1.2.0, remTempAlarm, remTempAlarm, Temperature status (far end radio), snmp, 1, 1, , 0
  127. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '203' AND sensor_type = 'remTempAlarm' AND `sensor_index` = 'remTempAlarm']
  128. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'remTempAlarm' AND `sensor_index` = 'remTempAlarm']
  129. SQL[UPDATE `sensors` set `sensor_oid` ='.1.3.6.1.4.1.25651.1.2.4.2.4.1.2.0',`sensor_descr` ='Temperature status (far end radio)',`sensor_multiplier` ='1',`sensor_divisor` ='1',`entPhysicalIndex` ='',`entPhysicalIndex_measured` ='' WHERE `sensor_id` = '4203']
  130. USQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('203','203','NULL','sensor',NOW(),'3','Sensor Updated: state remTempAlarm remTempAlarm Temperature status (far end radio)','')]
  131. ( 1 updated )
  132. SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'remTempAlarm' AND `sensor_index` = 'remTempAlarm']
  133. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'remTempAlarm']
  134. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('4203','37558')]
  135. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 remLinkSecMismatch.0]
  136. 0
  137.  
  138. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'remLinkSecMismatch' LIMIT 1]
  139. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '37559']
  140. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.4.1.9.0, remLinkSecMismatch, remLinkSecMismatch, Link security status, snmp, 1, 1, , 0
  141. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '203' AND sensor_type = 'remLinkSecMismatch' AND `sensor_index` = 'remLinkSecMismatch']
  142. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'remLinkSecMismatch' AND `sensor_index` = 'remLinkSecMismatch']
  143. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '203' AND `sensor_type` = 'remLinkSecMismatch' AND `sensor_index` = 'remLinkSecMismatch']
  144. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'remLinkSecMismatch']
  145. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('4204','37559')]
  146. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 locLinkStateV.0]
  147. No Such Object available on this agent at this OID
  148.  
  149. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 locLinkStateH.0]
  150. No Such Object available on this agent at this OID
  151.  
  152. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 remLinkStateV.0]
  153. No Such Object available on this agent at this OID
  154.  
  155. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqe -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 remLinkStateH.0]
  156. No Such Object available on this agent at this OID
  157.  
  158. Array
  159. (
  160. [remLinkState] => Array
  161. (
  162. [remLinkState] => 1
  163. )
  164.  
  165. [locLinkState] => Array
  166. (
  167. [locLinkState] => 1
  168. )
  169.  
  170. [locTempAlarm] => Array
  171. (
  172. [locTempAlarm] => 1
  173. )
  174.  
  175. [remTempAlarm] => Array
  176. (
  177. [remTempAlarm] => 1
  178. )
  179.  
  180. [remLinkSecMismatch] => Array
  181. (
  182. [remLinkSecMismatch] => 1
  183. )
  184.  
  185. )
  186. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='state' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  187. remLinkState -> remLinkState
  188. remTempAlarm -> remTempAlarm
  189. remLinkSecMismatch -> remLinkSecMismatch
  190. locLinkState -> locLinkState
  191. locTempAlarm -> locTempAlarm
  192.  
  193. Temperature: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 remCurrentTemp.0]
  194. 22 C
  195.  
  196. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.4.1.3.0, 0, extendair, Internal temp (far end radio), snmp, 1, 1, , 22 C
  197. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '203' AND sensor_type = 'extendair' AND `sensor_index` = '0']
  198. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '203' AND `sensor_type` = 'extendair' AND `sensor_index` = '0']
  199. SQL[UPDATE `sensors` set `sensor_oid` ='.1.3.6.1.4.1.25651.1.2.4.2.4.1.3.0',`sensor_descr` ='Internal temp (far end radio)',`sensor_multiplier` ='1',`sensor_divisor` ='1',`entPhysicalIndex` ='',`entPhysicalIndex_measured` ='' WHERE `sensor_id` = '4205']
  200. USQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('203','203','NULL','sensor',NOW(),'3','Sensor Updated: temperature extendair 0 Internal temp (far end radio)','')]
  201. ( 1 updated )
  202. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m ExaltComProducts -M /data/librenms/mibs:/data/librenms/mibs/exalt udp:HOSTNAME:161 locCurrentTemp.0]
  203. 26 C
  204.  
  205. Discover sensor: .1.3.6.1.4.1.25651.1.2.4.2.3.1.3.0, 1, extendair, Internal temp (local radio), snmp, 1, 1, , 26 C
  206. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '203' AND sensor_type = 'extendair' AND `sensor_index` = '1']
  207. SQL[INSERT INTO `sensors` (`poller_type`,`sensor_class`,`device_id`,`sensor_oid`,`sensor_index`,`sensor_type`,`sensor_descr`,`sensor_divisor`,`sensor_multiplier`,`sensor_limit`,`sensor_limit_low`,`sensor_current`) VALUES ('snmp','temperature','203','.1.3.6.1.4.1.25651.1.2.4.2.3.1.3.0','1','extendair','Internal temp (local radio)','1','1','41.6','18.2','26 C')]
  208. ( 4228 inserted )
  209. +SQL[INSERT INTO `eventlog` (`host`,`device_id`,`reference`,`type`,`datetime`,`severity`,`message`,`username`) VALUES ('203','203','4228','sensor',NOW(),'3','Sensor Added: temperature extendair 1 Internal temp (local radio)','')]
  210. Array
  211. (
  212. [extendair] => Array
  213. (
  214. [0] => 1
  215. [1] => 1
  216. )
  217.  
  218. )
  219. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='temperature' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  220. 0 -> extendair
  221. 1 -> extendair
  222.  
  223. Voltage: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='voltage' AND S.device_id = D.device_id AND D.device_id = '203' AND S.poller_type = 'snmp']
  224.  
  225.  
  226. >> Runtime for discovery module 'sensors': 4.1260 seconds with 8048 bytes
  227. #### Unload disco module sensors ####
  228.  
  229. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '203' AND `attrib_type` = 'poll_mib' ]
  230. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='4.904' WHERE `device_id` = '203']
  231. Discovered in 4.904 seconds
  232.  
  233. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','MOJVCABKWAP_1408.race.com','1493712051.9629','4.921','1','nms-1\n')]
  234. ./discovery.php MOJVCABKWAP_1408.race.com 2017-05-02 01:00:56 - 1 devices discovered in 4.921 secs
  235. SNMP: Get[12/2.04s] Walk [6/2.18s]
  236. MySQL: Cell[15/0.01s] Row[16/0.00s] Rows[25/0.01s] Column[0/0.00s] Update[4/0.01s] Insert[32/0.05s] Delete[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement