Advertisement
Guest User

Untitled

a guest
Aug 5th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.15 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','46.7','64.2','54.6','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 = "46.5"
  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 = "disabled"
  35.  
  36.  
  37. Array
  38. (
  39. [raspberry_pi_sensors] => Array
  40. (
  41. [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
  42. (
  43. [] => 46.5
  44. )
  45.  
  46. [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
  47. (
  48. [] => 1.2000
  49. )
  50.  
  51. [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
  52. (
  53. [] => 1.2000
  54. )
  55.  
  56. [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
  57. (
  58. [] => 1.2000
  59. )
  60.  
  61. [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
  62. (
  63. [] => 1.2250
  64. )
  65.  
  66. [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
  67. (
  68. [] => 700000000
  69. )
  70.  
  71. [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
  72. (
  73. [] => 250000000
  74. )
  75.  
  76. [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
  77. (
  78. [] => enabled
  79. )
  80.  
  81. [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
  82. (
  83. [] => disabled
  84. )
  85.  
  86. [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
  87. (
  88. [] => disabled
  89. )
  90.  
  91. [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
  92. (
  93. [] => enabled
  94. )
  95.  
  96. [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
  97. (
  98. [] => enabled
  99. )
  100.  
  101. [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
  102. (
  103. [] => disabled
  104. )
  105.  
  106. )
  107.  
  108. )
  109. 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]
  110. entPhysicalDescr = No Such Object available on this agent at this OID
  111.  
  112. 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]
  113. entPhysicalName = No Such Object available on this agent at this OID
  114.  
  115. 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]
  116. entPhySensorType = No Such Object available on this agent at this OID
  117.  
  118. 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]
  119. entPhySensorScale = No Such Object available on this agent at this OID
  120.  
  121. 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]
  122. entPhySensorPrecision = No Such Object available on this agent at this OID
  123.  
  124. 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]
  125. entPhySensorValue = No Such Object available on this agent at this OID
  126.  
  127.  
  128. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '8' AND `attrib_type` = 'ipmi_hostname' ]
  129. 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']
  130. 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']
  131. 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']
  132. 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']
  133. 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']
  134.  
  135. 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]
  136. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  137.  
  138. 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']
  139.  
  140. 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]
  141. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  142.  
  143. 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']
  144.  
  145. 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']
  146.  
  147. 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]
  148. .*.4.1.2*.1.2 No Such Instance currently exists at this OID
  149.  
  150.  
  151. 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']
  152.  
  153. 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
  154. 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']
  155. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '8' AND `sensor_type` = 'raspberry_freq' AND `sensor_index` = '6']
  156. .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
  157. 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']
  158. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'frequency' AND `device_id` = '8' AND `sensor_type` = 'raspberry_freq' AND `sensor_index` = '7']
  159. .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']
  160.  
  161. 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']
  162.  
  163. 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']
  164.  
  165. 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']
  166.  
  167. 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']
  168.  
  169. 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']
  170.  
  171. State: SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  172. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  173. 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
  174. 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']
  175. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '8']
  176. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '8']
  177. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  178. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('80','12')]
  179. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  180. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  181. 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
  182. 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']
  183. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '9']
  184. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '9']
  185. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  186. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('81','12')]
  187. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  188. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  189. 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
  190. 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']
  191. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '10']
  192. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '10']
  193. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  194. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('82','12')]
  195. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  196. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  197. 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
  198. 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']
  199. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '11']
  200. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '11']
  201. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  202. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('83','12')]
  203. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  204. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  205. 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
  206. 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']
  207. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '12']
  208. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '12']
  209. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  210. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('84','12')]
  211. SQL[SELECT `state_index_id` FROM state_indexes WHERE state_name = 'raspberry_codec' LIMIT 1]
  212. SQL[SELECT * FROM `state_translations` WHERE `state_index_id` = '12']
  213. 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, disabled
  214. 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']
  215. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '13']
  216. .SQL[SELECT sensor_id FROM `sensors` WHERE `sensor_class` = 'state' AND `device_id` = '8' AND `sensor_type` = 'raspberry_codec' AND `sensor_index` = '13']
  217. SQL[SELECT state_index_id FROM `state_indexes` WHERE `state_name` = 'raspberry_codec']
  218. SQL[INSERT INTO `sensors_to_state_indexes` (`sensor_id`,`state_index_id`) VALUES ('85','12')]
  219. Array
  220. (
  221. [raspberry_codec] => Array
  222. (
  223. [8] => 1
  224. [9] => 1
  225. [10] => 1
  226. [11] => 1
  227. [12] => 1
  228. [13] => 1
  229. )
  230.  
  231. )
  232. 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']
  233. 8 -> raspberry_codec
  234. 9 -> raspberry_codec
  235. 10 -> raspberry_codec
  236. 11 -> raspberry_codec
  237. 12 -> raspberry_codec
  238. 13 -> raspberry_codec
  239.  
  240. 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]
  241. .*.4.1.2*.1.2 No Such Instance currently exists at this OID
  242.  
  243.  
  244. 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]
  245. "46.5"
  246.  
  247. 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, , 46.5
  248. 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']
  249. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'temperature' AND `device_id` = '8' AND `sensor_type` = 'raspberry_temp' AND `sensor_index` = '1']
  250. .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]
  251. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  252.  
  253. 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]
  254. .*.4.1.108*.1.1.3 No Such Object available on this agent at this OID
  255.  
  256. 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']
  257.  
  258. 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]
  259. .*.4.1.2*.1.2 No Such Instance currently exists at this OID
  260.  
  261.  
  262. 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
  263. 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']
  264. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '2']
  265. .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
  266. 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']
  267. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '3']
  268. .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
  269. 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']
  270. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '4']
  271. .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
  272. 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']
  273. SQL[SELECT * FROM `sensors` WHERE `sensor_class` = 'voltage' AND `device_id` = '8' AND `sensor_type` = 'rasbperry_volts' AND `sensor_index` = '5']
  274. .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]
  275. .*.4.1.108*.1.1.3 No Such Object available on this agent at this OID
  276.  
  277.  
  278. 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]
  279. "Linux picam 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l"
  280.  
  281. 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']
  282.  
  283. 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']
  284.  
  285.  
  286. >> Runtime for discovery module 'sensors': 1.7000 seconds with 18888 bytes
  287. #### Unload disco module sensors ####
  288.  
  289. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '8' AND `attrib_type` = 'poll_mib' ]
  290. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='2.216' WHERE `device_id` = '8']
  291. Discovered in 2.216 seconds
  292.  
  293. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','picam.quantum.lan','1501934300.2639','2.264','1','velocity\n')]
  294. ./discovery.php picam.quantum.lan 2017-08-05 07:58:22 - 1 devices discovered in 2.264 secs
  295. SNMP: Get[6/0.10s] Walk [12/1.56s]
  296. MySQL: Cell[21/0.01s] Row[28/0.02s] Rows[29/0.01s] 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