Advertisement
si458

Untitled

Feb 16th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.59 KB | None | 0 0
  1. root@observium:~# /opt/observium/poller.php -d -m os -h homewifi.hestor
  2. DEBUG!
  3. Observium 0.15.2.6285
  4. Poller
  5.  
  6. Starting polling run:
  7.  
  8.  
  9. SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'homewifi.hestor' ORDER BY `device_id` ASC]
  10. RUNTIME[0.00062704s]
  11.  
  12. SQL[SELECT * FROM `devices` WHERE `device_id` = '27']
  13. RUNTIME[0.00026798s]
  14.  
  15. SQL[SELECT * FROM `devices_attribs` WHERE `device_id` = '27']
  16. RUNTIME[0.00004506s]
  17.  
  18. SQL[SELECT * FROM `alert_tests` WHERE 1]
  19. RUNTIME[0.00004911s]
  20. Cached 5 alert rules.
  21.  
  22. SQL[SELECT *,`alert_table`.`alert_table_id` AS `alert_table_id` FROM `alert_table` LEFT JOIN `alert_table-state` ON `alert_table`.`alert_table_id` = `alert_table-state`.`alert_table_id` WHERE `device_id` = '27']
  23. RUNTIME[0.00022507s]
  24. homewifi.hestor 27 airos
  25.  
  26. CMD[/usr/bin/fping -t 500 -c 1 -q 217.14.188.8 2>&1]
  27. EXITCODE[0]
  28. RUNTIME[0.0423s]
  29. STDOUT[
  30. 217.14.188.8 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 30.1/30.1/30.1
  31. ]
  32.  
  33. CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUst -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' sysObjectID.0 sysUpTime.0]
  34. EXITCODE[0]
  35. RUNTIME[0.0461s]
  36. STDOUT[
  37. sysObjectID.0 = enterprises.10002.1
  38. sysUpTime.0 = 114171200
  39. ]
  40. SNMP_STATUS[TRUE]
  41. RRD /opt/observium/rrd/homewifi.hestor/status.rrd already exists - no need to create.
  42. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/status.rrd N:1]
  43. stdout[OK u:0.00 s:0.00 r:0.09]
  44. stderr[]]
  45. RRD /opt/observium/rrd/homewifi.hestor/ping.rrd already exists - no need to create.
  46. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/ping.rrd N:30.1]
  47. stdout[OK u:0.00 s:0.00 r:0.09]
  48. stderr[]]
  49. RRD /opt/observium/rrd/homewifi.hestor/ping_snmp.rrd already exists - no need to create.
  50. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/ping_snmp.rrd N:47.78]
  51. stdout[OK u:0.00 s:0.00 r:0.09]
  52. stderr[]]
  53.  
  54. SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '27']
  55. RUNTIME[0.00015187s]
  56.  
  57. including: includes/polling/system.inc.php
  58.  
  59. CMD[/usr/bin/snmpget -v1 -c *** -Pu -OQUs -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0]
  60. EXITCODE[0]
  61. RUNTIME[0.0448s]
  62. STDOUT[
  63. sysUpTime.0 = 13:5:08:32.00
  64. sysLocation.0 = unset
  65. sysContact.0 = unset
  66. sysName.0 = UBNT
  67. ]
  68. SNMP_STATUS[TRUE]
  69.  
  70. CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqv -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' sysDescr.0]
  71. EXITCODE[0]
  72. RUNTIME[0.0452s]
  73. STDOUT[
  74. Linux 2.6.32.33 #1 Mon Jan 19 14:01:58 PST 2015 mips
  75. ]
  76. SNMP_STATUS[TRUE]
  77.  
  78. CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqvn -m SNMPv2-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' sysObjectID.0]
  79. EXITCODE[0]
  80. RUNTIME[0.0404s]
  81. STDOUT[
  82. .1.3.6.1.4.1.10002.1
  83. ]
  84. SNMP_STATUS[TRUE]
  85.  
  86. CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovqn -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' snmpEngineID.0]
  87. EXITCODE[2]
  88. RUNTIME[0.0451s]
  89. STDOUT[
  90.  
  91. ]
  92. STDERR[
  93. Error in packet
  94. Reason: (noSuchName) There is no such variable name in this MIB.
  95. Failed object: .1.3.6.1.6.3.10.2.1.1.0
  96. ]
  97. SNMP_STATUS[FALSE]
  98.  
  99. CMD[/usr/bin/snmpget -v1 -c *** -Pu -Oqv -m HOST-RESOURCES-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' hrSystemUptime.0]
  100. EXITCODE[2]
  101. RUNTIME[0.0427s]
  102. STDOUT[
  103.  
  104. ]
  105. STDERR[
  106. Error in packet
  107. Reason: (noSuchName) There is no such variable name in this MIB.
  108. Failed object: HOST-RESOURCES-MIB::hrSystemUptime.0
  109. ]
  110. SNMP_STATUS[FALSE]
  111.  
  112. CMD[/usr/bin/snmpget -v1 -c *** -Pu -OUqv -m SNMP-FRAMEWORK-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' snmpEngineTime.0]
  113. EXITCODE[2]
  114. RUNTIME[0.0443s]
  115. STDOUT[
  116.  
  117. ]
  118. STDERR[
  119. Error in packet
  120. Reason: (noSuchName) There is no such variable name in this MIB.
  121. Failed object: SNMP-FRAMEWORK-MIB::snmpEngineTime.0
  122. ]
  123. SNMP_STATUS[FALSE]
  124. Using SNMP Agent sysUpTime (1141712 sec. => 13 days, 5h 8m 32s)
  125. RRD /opt/observium/rrd/homewifi.hestor/uptime.rrd already exists - no need to create.
  126. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/uptime.rrd N:1141712]
  127. stdout[OK u:0.00 s:0.00 r:0.37]
  128. stderr[]]
  129. Uptime: 13 days, 5h 8m 32s
  130. sysLocation rewritten from 'unset' to 'CH44 0BQ [53.418150, -3.032262]'
  131.  
  132. SQL[SELECT `version` FROM `dbSchema`;]
  133. RUNTIME[0.00013804s]
  134.  
  135. SQL[SELECT * FROM `devices_locations` WHERE `device_id` = '27']
  136. RUNTIME[0.00008678s]
  137. Module [ system ] time: 0.277s
  138.  
  139. including: includes/polling/os.inc.php
  140.  
  141. CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m IEEE802dot11-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' dot11manufacturerProductName.5]
  142. EXITCODE[2]
  143. RUNTIME[0.1348s]
  144. STDOUT[
  145.  
  146. ]
  147. STDERR[
  148. Error in packet
  149. Reason: (noSuchName) There is no such variable name in this MIB.
  150. Failed object: IEEE802dot11-MIB::dot11manufacturerProductName.5
  151. ]
  152. SNMP_STATUS[FALSE]
  153.  
  154. CMD[/usr/bin/snmpget -v1 -c *** -Pu -Ovq -m IEEE802dot11-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp 'udp':'homewifi.hestor':'1992' dot11manufacturerProductVersion.5]
  155. EXITCODE[2]
  156. RUNTIME[0.0467s]
  157. STDOUT[
  158.  
  159. ]
  160. STDERR[
  161. Error in packet
  162. Reason: (noSuchName) There is no such variable name in this MIB.
  163. Failed object: IEEE802dot11-MIB::dot11manufacturerProductVersion.5
  164. ]
  165. SNMP_STATUS[FALSE]
  166.  
  167. Hardware: Ubiquiti Version: Features: Serial: Asset:
  168. Module [ os ] time: 0.1856s
  169. Graphs [checked]: ping, ping_snmp, uptime
  170.  
  171. Polled in 0.5615 seconds
  172. Updating homewifi.hestor - Array
  173. (
  174. [uptime] => 1141712
  175. [last_polled] => Array
  176. (
  177. [0] => NOW()
  178. )
  179.  
  180. [last_polled_timetaken] => 0.5615
  181. [device_state] => a:1:{s:15:"poller_mod_perf";a:2:{s:6:"system";s:6:"0.2770";s:2:"os";s:6:"0.1856";}}
  182. )
  183.  
  184.  
  185. SQL[UPDATE `devices` set `uptime` ='1141712',`last_polled` =NOW(),`last_polled_timetaken` ='0.5615',`device_state` ='a:1:{s:15:\"poller_mod_perf\";a:2:{s:6:\"system\";s:6:\"0.2770\";s:2:\"os\";s:6:\"0.1856\";}}' WHERE `device_id` = '27']
  186. RUNTIME[0.03857994s]
  187. UPDATED!
  188.  
  189. Checking alerts
  190. Array
  191. (
  192. [device_status] => 1
  193. [device_status_type] =>
  194. [device_ping] => 30.1
  195. [device_snmp] => 47.78
  196. [device_uptime] => 1141487
  197. [device_duration_poll] => 38.50
  198. )
  199. Checking alert 1 associated by 1
  200. Testing: device_status_type = snmp (value: ) OK Testing: device_status = 0 (value: 1) OK Checks OK.
  201.  
  202. SQL[UPDATE `alert_table-state` set `state` ='{\"metrics\":{\"device_status_type\":\"\",\"device_status\":\"1\"}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1424101427' WHERE `alert_table_id` = '25']
  203. RUNTIME[0.00010896s]
  204. RRD /opt/observium/rrd/homewifi.hestor/alert-25.rrd already exists - no need to create.
  205. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/alert-25.rrd N:1:1]
  206. stdout[OK u:0.00 s:0.00 r:0.60]
  207. stderr[]]
  208. Checking alert 2 associated by 2
  209. Testing: device_uptime < 600 (value: 1141487) OK Testing: device_uptime > 0 (value: 1141487) FAIL Checks OK.
  210.  
  211. SQL[UPDATE `alert_table-state` set `state` ='{\"metrics\":{\"device_uptime\":\"1141487\"},\"failed\":[{\"value\":\"0\",\"condition\":\">\",\"metric\":\"device_uptime\"}]}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1424101427' WHERE `alert_table_id` = '61']
  212. RUNTIME[0.00008297s]
  213. RRD /opt/observium/rrd/homewifi.hestor/alert-61.rrd already exists - no need to create.
  214. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/alert-61.rrd N:1:1]
  215. stdout[OK u:0.00 s:0.00 r:0.60]
  216. stderr[]]
  217. Checking alert 3 associated by 3
  218. Testing: device_status_type = ping (value: ) OK Testing: device_status = 0 (value: 1) OK Checks OK.
  219.  
  220. SQL[UPDATE `alert_table-state` set `state` ='{\"metrics\":{\"device_status_type\":\"\",\"device_status\":\"1\"}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1424101427' WHERE `alert_table_id` = '110']
  221. RUNTIME[0.00007987s]
  222. RRD /opt/observium/rrd/homewifi.hestor/alert-110.rrd already exists - no need to create.
  223. RRD[cmd[update /opt/observium/rrd/homewifi.hestor/alert-110.rrd N:1:1]
  224. stdout[OK u:0.00 s:0.00 r:0.61]
  225. stderr[]]
  226.  
  227. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('poll','homewifi.hestor','1424101426.4886','0.614','1')]
  228. RUNTIME[0.00010204s]
  229. /opt/observium/poller.php: homewifi.hestor - 1 devices polled in 0.614 secs
  230. NOTE, $config['snmp']['hide_auth'] sets as TRUE, snmp community and snmp v3 auth hidden from debug output.
  231. Memory usage: 8.25MB (peak: 8.25MB)
  232. MySQL: Cell[1/0s] Row[2/0s] Rows[5/0s] Column[0/0s] Update[4/0.04s] Insert[1/0.02s] Delete[0/0s]
  233. root@observium:~#
  234. root@observium:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement