Advertisement
Guest User

Untitled

a guest
Aug 4th, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.81 KB | None | 0 0
  1. $ ./discovery.php -h picam.quantum.lan -d -m sensors
  2. LibreNMS Discovery
  3. ===================================
  4. Version info:
  5. Commit SHA: 0ff847a9b3fad5a5766c5da9aca9d3cb453360f2
  6. Commit Date: 1501783261
  7. DB Schema: 200
  8. PHP: 7.0.15-0ubuntu0.16.04.4
  9. MySQL: 5.7.19-0ubuntu0.16.04.1
  10. RRDTool: 1.5.5
  11. SNMP: NET-SNMP 5.7.3
  12. ==================================DEBUG!
  13. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE 'picam.quantum.lan' ORDER BY device_id DESC]
  14. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '8']
  15. picam.quantum.lan 8 linux SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','15.9','36.2','25.5','8',NOW())]
  16. SNMP Check response code: 0
  17. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '8' AND `attrib_type` = 'poll_mib' ]
  18.  
  19. Modules status: Global+ OS Device
  20. #### Load disco module sensors ####
  21. Pre-cache linux: RaspberryPi SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUn -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121]
  22. .*.4.1.8*.*.*.*.121.1 = "54.1"
  23. .*.4.1.8*.*.*.*.121.2 = "1.2000"
  24. .*.4.1.8*.*.*.*.121.3 = "1.2000"
  25. .*.4.1.8*.*.*.*.121.4 = "1.2000"
  26. .*.4.1.8*.*.*.*.121.5 = "1.2250"
  27. .*.4.1.8*.*.*.*.121.6 = "700000000"
  28. .*.4.1.8*.*.*.*.121.7 = "250000000"
  29. .*.4.1.8*.*.*.*.121.8 = "enabled"
  30. .*.4.1.8*.*.*.*.121.9 = "disabled"
  31. .*.4.1.8*.*.*.*.121.10 = "disabled"
  32. .*.4.1.8*.*.*.*.121.11 = "enabled"
  33. .*.4.1.8*.*.*.*.121.12 = "enabled"
  34. .*.4.1.8*.*.*.*.121.13 = "WMV9=disabled"
  35. .*.4.1.8*.*.*.*.121.14 = "H264=2"
  36. .*.4.1.8*.*.*.*.121.15 = "MPG2=disabled"
  37. .*.4.1.8*.*.*.*.121.16 = "WVC1=disabled"
  38. .*.4.1.8*.*.*.*.121.17 = "MPG4=2"
  39. .*.4.1.8*.*.*.*.121.18 = "MJPG=2"
  40. .*.4.1.8*.*.*.*.121.19 = "WMV9=disabled"
  41. .*.4.1.8*.*.*.*.121.20 = "WMV9=disabled"
  42. .*.4.1.8*.*.*.*.121.21 = "H264=enabled"
  43. .*.4.1.8*.*.*.*.121.22 = "MPG2=1"
  44. .*.4.1.8*.*.*.*.121.23 = "WVC1=1"
  45. .*.4.1.8*.*.*.*.121.24 = "MPG4=enabled"
  46. .*.4.1.8*.*.*.*.121.25 = "MJPG=enabled"
  47. .*.4.1.8*.*.*.*.121.26 = "WMV9=1"
  48.  
  49.  
  50. Array
  51. (
  52. [raspberry_pi_sensors] => Array
  53. (
  54. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.1] => Array
  55. (
  56. [] => 54.1
  57. )
  58.  
  59. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.2] => Array
  60. (
  61. [] => 1.2000
  62. )
  63.  
  64. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.3] => Array
  65. (
  66. [] => 1.2000
  67. )
  68.  
  69. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.4] => Array
  70. (
  71. [] => 1.2000
  72. )
  73.  
  74. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.5] => Array
  75. (
  76. [] => 1.2250
  77. )
  78.  
  79. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.6] => Array
  80. (
  81. [] => 700000000
  82. )
  83.  
  84. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.7] => Array
  85. (
  86. [] => 250000000
  87. )
  88.  
  89. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.8] => Array
  90. (
  91. [] => enabled
  92. )
  93.  
  94. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.9] => Array
  95. (
  96. [] => disabled
  97. )
  98.  
  99. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.10] => Array
  100. (
  101. [] => disabled
  102. )
  103.  
  104. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.11] => Array
  105. (
  106. [] => enabled
  107. )
  108.  
  109. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.12] => Array
  110. (
  111. [] => enabled
  112. )
  113.  
  114. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.13] => Array
  115. (
  116. [] => WMV9=disabled
  117. )
  118.  
  119. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.14] => Array
  120. (
  121. [] => H264=2
  122. )
  123.  
  124. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.15] => Array
  125. (
  126. [] => MPG2=disabled
  127. )
  128.  
  129. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.16] => Array
  130. (
  131. [] => WVC1=disabled
  132. )
  133.  
  134. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.17] => Array
  135. (
  136. [] => MPG4=2
  137. )
  138.  
  139. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.18] => Array
  140. (
  141. [] => MJPG=2
  142. )
  143.  
  144. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.19] => Array
  145. (
  146. [] => WMV9=disabled
  147. )
  148.  
  149. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.20] => Array
  150. (
  151. [] => WMV9=disabled
  152. )
  153.  
  154. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.21] => Array
  155. (
  156. [] => H264=enabled
  157. )
  158.  
  159. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.22] => Array
  160. (
  161. [] => MPG2=1
  162. )
  163.  
  164. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.23] => Array
  165. (
  166. [] => WVC1=1
  167. )
  168.  
  169. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.24] => Array
  170. (
  171. [] => MPG4=enabled
  172. )
  173.  
  174. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.25] => Array
  175. (
  176. [] => MJPG=enabled
  177. )
  178.  
  179. [1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.26] => Array
  180. (
  181. [] => WMV9=1
  182. )
  183.  
  184. )
  185.  
  186. )
  187. ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 entPhysicalDescr]
  188. entPhysicalDescr = No Such Object available on this agent at this OID
  189.  
  190. entPhysicalNameSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m CISCO-ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 entPhysicalName]
  191. entPhysicalName = No Such Object available on this agent at this OID
  192.  
  193. entPhySensorTypeSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 entPhySensorType]
  194. entPhySensorType = No Such Object available on this agent at this OID
  195.  
  196. entPhySensorScaleSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 entPhySensorScale]
  197. entPhySensorScale = No Such Object available on this agent at this OID
  198.  
  199. entPhySensorPrecisionSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 entPhySensorPrecision]
  200. entPhySensorPrecision = No Such Object available on this agent at this OID
  201.  
  202. entPhySensorValueSNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m ENTITY-SENSOR-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 entPhySensorValue]
  203. entPhySensorValue = No Such Object available on this agent at this OID
  204.  
  205.  
  206. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '8' AND `attrib_type` = 'ipmi_hostname' ]
  207. 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 = '8' AND S.poller_type = 'ipmi']
  208. 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 = '8' AND S.poller_type = 'ipmi']
  209. 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 = '8' AND S.poller_type = 'ipmi']
  210. 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 = '8' AND S.poller_type = 'ipmi']
  211. 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 = '8' AND S.poller_type = 'snmp']
  212.  
  213. Current: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.2.1.1.1.0]
  214. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  215.  
  216. 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 = '8' AND S.poller_type = 'snmp']
  217.  
  218. Charge: SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.2.1.1.1.0]
  219. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  220.  
  221. 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 = '8' AND S.poller_type = 'snmp']
  222.  
  223. 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 = '8' AND S.poller_type = 'snmp']
  224.  
  225. Fanspeed: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -m LM-SENSORS-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 lmFanSensorsDevice]
  226. .*.4.1.2*.1.2 No Such Instance currently exists at this OID
  227.  
  228.  
  229. 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 = '8' AND S.poller_type = 'snmp']
  230.  
  231. Frequency: Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.6, 6, raspberry_freq, ARM, snmp, 1, 1, , 700000000
  232. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'frequency' AND `device_id` = '8' AND sensor_type = 'raspberry_freq' AND `sensor_index` = '6']
  233. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '8' AND `sensor_type` = 'raspberry_freq' AND `sensor_index` = '6']
  234. .Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.7, 7, raspberry_freq, Core, snmp, 1, 1, , 250000000
  235. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'frequency' AND `device_id` = '8' AND sensor_type = 'raspberry_freq' AND `sensor_index` = '7']
  236. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '8' AND `sensor_type` = 'raspberry_freq' AND `sensor_index` = '7']
  237. .SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='raspberry_freq' AND S.device_id = D.device_id AND D.device_id = '8' AND S.poller_type = 'snmp']
  238.  
  239. 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 = '8' AND S.poller_type = 'snmp']
  240.  
  241. 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 = '8' AND S.poller_type = 'snmp']
  242.  
  243. 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 = '8' AND S.poller_type = 'snmp']
  244.  
  245. 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 = '8' AND S.poller_type = 'snmp']
  246.  
  247. 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 = '8' AND S.poller_type = 'snmp']
  248.  
  249. State: SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  250. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  251. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.8, 8, raspberry_codec, H264 codec, snmp, 1, 1, 8, enabled
  252. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '8' AND sensor_type = 'raspberry_codec' AND `sensor_index` = '8']
  253. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '8']
  254. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '8']
  255. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  256. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('80','12')]
  257. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  258. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  259. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.9, 9, raspberry_codec, MPG2 codec, snmp, 1, 1, 9, disabled
  260. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '8' AND sensor_type = 'raspberry_codec' AND `sensor_index` = '9']
  261. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '9']
  262. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '9']
  263. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  264. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('81','12')]
  265. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  266. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  267. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.10, 10, raspberry_codec, WVC1 codec, snmp, 1, 1, 10, disabled
  268. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '8' AND sensor_type = 'raspberry_codec' AND `sensor_index` = '10']
  269. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '10']
  270. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '10']
  271. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  272. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('82','12')]
  273. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  274. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  275. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.11, 11, raspberry_codec, MPG4 codec, snmp, 1, 1, 11, enabled
  276. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '8' AND sensor_type = 'raspberry_codec' AND `sensor_index` = '11']
  277. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '11']
  278. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '11']
  279. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  280. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('83','12')]
  281. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  282. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  283. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.12, 12, raspberry_codec, MJPG codec, snmp, 1, 1, 12, enabled
  284. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '8' AND sensor_type = 'raspberry_codec' AND `sensor_index` = '12']
  285. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '12']
  286. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '12']
  287. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  288. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('84','12')]
  289. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  290. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  291. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.13, 13, raspberry_codec, WMV9 codec, snmp, 1, 1, 13, WMV9=disabled
  292. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'state' AND `device_id` = '8' AND sensor_type = 'raspberry_codec' AND `sensor_index` = '13']
  293. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '13']
  294. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '13']
  295. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  296. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('85','12')]
  297. Array
  298. (
  299. [raspberry_codec] => Array
  300. (
  301. [8] => 1
  302. [9] => 1
  303. [10] => 1
  304. [11] => 1
  305. [12] => 1
  306. [13] => 1
  307. )
  308.  
  309. )
  310. 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 = '8' AND S.poller_type = 'snmp']
  311. 8 -> raspberry_codec
  312. 9 -> raspberry_codec
  313. 10 -> raspberry_codec
  314. 11 -> raspberry_codec
  315. 12 -> raspberry_codec
  316. 13 -> raspberry_codec
  317.  
  318. Temperature: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m LM-SENSORS-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 lmTempSensorsDevice]
  319. .*.4.1.2*.1.2 No Such Instance currently exists at this OID
  320.  
  321.  
  322. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqve -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.1]
  323. "54.1"
  324.  
  325. Discover sensor: .1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.1, 1, raspberry_temp, CPU Temp, snmp, 1, 1, , 54.1
  326. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'temperature' AND `device_id` = '8' AND sensor_type = 'raspberry_temp' AND `sensor_index` = '1']
  327. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '8' AND `sensor_type` = 'raspberry_temp' AND `sensor_index` = '1']
  328. .SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.2.1.1.1.0]
  329. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  330.  
  331. SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -Osqn -m SUPERMICRO-HEALTH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.4.1.10876.2.1.1.1.1.3]
  332. .*.4.1.108*.1.1.3 No Such Object available on this agent at this OID
  333.  
  334. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='raspberry_temp' AND S.device_id = D.device_id AND D.device_id = '8' AND S.poller_type = 'snmp']
  335.  
  336. Voltage: SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -m LM-SENSORS-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 lmVoltSensorsDevice]
  337. .*.4.1.2*.1.2 No Such Instance currently exists at this OID
  338.  
  339.  
  340. Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.2, 2, rasbperry_volts, Core, snmp, 1, 1, , 1.2000
  341. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '8' AND sensor_type = 'rasbperry_volts' AND `sensor_index` = '2']
  342. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '2']
  343. .Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.3, 3, rasbperry_volts, SDRAMc, snmp, 1, 1, , 1.2000
  344. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '8' AND sensor_type = 'rasbperry_volts' AND `sensor_index` = '3']
  345. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '3']
  346. .Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.4, 4, rasbperry_volts, SDRAMi, snmp, 1, 1, , 1.2000
  347. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '8' AND sensor_type = 'rasbperry_volts' AND `sensor_index` = '4']
  348. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '4']
  349. .Discover sensor: 1.3.6.1.4.1.8072.1.3.2.4.1.2.9.114.97.115.112.98.101.114.114.121.5, 5, rasbperry_volts, SDRAMp, snmp, 1, 1, , 1.2250
  350. SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= 'snmp' AND `sensor_class` = 'voltage' AND `device_id` = '8' AND sensor_type = 'rasbperry_volts' AND `sensor_index` = '5']
  351. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '5']
  352. .SNMP[/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OsqnU -m SUPERMICRO-HEALTH-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.4.1.10876.2.1.1.1.1.3]
  353. .*.4.1.108*.1.1.3 No Such Object available on this agent at this OID
  354.  
  355.  
  356. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell -t 10 udp:HOSTNAME:161 .1.3.6.1.2.1.1.1.0]
  357. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  358.  
  359. SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='rasbperry_volts' AND S.device_id = D.device_id AND D.device_id = '8' AND S.poller_type = 'snmp']
  360.  
  361. Snr: SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class='snr' AND S.device_id = D.device_id AND D.device_id = '8' AND S.poller_type = 'snmp']
  362.  
  363.  
  364. >> Runtime for discovery module 'sensors': 3.0320 seconds with 18888 bytes
  365. #### Unload disco module sensors ####
  366.  
  367. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '8' AND `attrib_type` = 'poll_mib' ]
  368. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='3.521' WHERE `device_id` = '8']
  369. Discovered in 3.521 seconds
  370.  
  371. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','picam.quantum.lan','1501877247.1454','3.581','1','velocity\n')]
  372. ./discovery.php picam.quantum.lan 2017-08-04 16:07:30 - 1 devices discovered in 3.581 secs
  373. SNMP: Get[6/0.11s] Walk [12/2.88s]
  374. MySQL: Cell[21/0.01s] Row[28/0.01s] Rows[29/0.03s] Column[0/0.00s] Update[1/0.00s] Insert[8/0.02s] Delete[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement