Advertisement
Guest User

Untitled

a guest
Jan 12th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.31 KB | None | 0 0
  1. LibreNMS Poller
  2. Version info:
  3. Commit SHA: e95772e5b481c9bffc42922afa0b6cf909197463
  4. Commit Date: 1484076664
  5. DB Schema: 153
  6. PHP: 5.6.29
  7. MySQL: 5.5.48
  8. RRDTool: 1.3.8
  9. SNMP: NET-SNMP 5.5
  10. DEBUG!
  11. Starting polling run:
  12.  
  13. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = 'env-01' ORDER BY `device_id` ASC]
  14. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '19']
  15. Hostname: env-01
  16. Device ID: 19
  17. OS: generic
  18.  
  19. SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('5','5','0','0.80','2.25','1.12','19',NOW())]
  20. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysObjectID.0]
  21. SNMPv2-SMI::enterprises.3854.1
  22.  
  23. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OQnUst -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0]
  24. sysUpTime.0 = 820045554
  25. sysLocation.0 = REC
  26. sysContact.0 = something@something.com
  27. sysName.0 = env-01
  28. sysObjectID.0 = enterprises.3854.1
  29.  
  30. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OvQ -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysDescr.0]
  31. sensorProbe4 SP4470 161014
  32.  
  33. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -OQnUst -m HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 snmpEngineTime.0 hrSystemUptime.0]
  34. Error in packet
  35. Reason: (noSuchName) There is no such variable name in this MIB.
  36. Failed object: snmpEngineTime.0
  37.  
  38.  
  39. Using SNMP Agent Uptime (8200455s)
  40. RRD[update /opt/librenms/rrd/env-01/uptime.rrd N:8200455]
  41. [RRD Disabled]Uptime: 94 days, 21h 54m 15s
  42. Modules status: Global+ OS Device
  43. #### Load poller module os ####
  44. Generic :(
  45. Hardware:
  46. Version:
  47. Features:
  48. Serial:
  49.  
  50. >> Runtime for poller module 'os': 0.0002 seconds
  51. #### Unload poller module os ####
  52.  
  53. RRD[update /opt/librenms/rrd/env-01/poller-perf-os.rrd N:0.00018882751464844]
  54. [RRD Disabled]### Start Device Groups ###
  55. SQL[SELECT * FROM device_groups ORDER BY name]
  56. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id='19' AND (devices.type = "Server" && devices.os = "Linux" ) LIMIT 1]
  57. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id='19' AND (devices.type = "Network") LIMIT 1]
  58. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id='19' AND (devices.type = "Power") LIMIT 1]
  59. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id='19' AND (devices.type = "Server") LIMIT 1]
  60. SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id='19' AND (devices.type = "Server" && devices.os = "Windows" ) LIMIT 1]
  61. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='19']
  62. Groups Added:
  63. Groups Removed:
  64. ### End Device Groups ###
  65. RRD[update /opt/librenms/rrd/env-01/poller-perf.rrd N:0.893]
  66. [RRD Disabled]RRD[update /opt/librenms/rrd/env-01/ping-perf.rrd N:1.12]
  67. [RRD Disabled]Polled in 0.893 seconds
  68. Updating env-01
  69. SQL[UPDATE `devices` set `uptime` ='8200455',`last_ping` =NOW(),`last_ping_timetaken` ='1.12',`last_polled` =NOW(),`last_polled_timetaken` ='0.893' WHERE `device_id` = '19']
  70. UPDATED!
  71. #### Start Alerts ####
  72. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='19']
  73. SQL[SELECT alert_schedule.schedule_id FROM alert_schedule LEFT JOIN alert_schedule_items ON alert_schedule.schedule_id=alert_schedule_items.schedule_id WHERE ( alert_schedule_items.target = '19' ) && NOW() BETWEEN alert_schedule.start AND alert_schedule.end LIMIT 1]
  74. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='19']
  75. SQL[SELECT alert_rules.* FROM alert_rules LEFT JOIN alert_map ON alert_rules.id=alert_map.rule WHERE alert_rules.disabled = 0 && ( (alert_rules.device_id = -1 || alert_rules.device_id = '19' ) || alert_map.target = '19' )]
  76. Rule #3 (BGP Session down):
  77. SQL[SELECT state FROM alerts WHERE rule_id = '3' && device_id = '19' ORDER BY id DESC LIMIT 1]
  78. SQL[SELECT * FROM bgpPeers,devices WHERE (( devices.device_id = bgpPeers.device_id ) && bgpPeers.device_id = '19') && (bgpPeers.bgpPeerState != "established" && ( ( devices.status = 1 && ( ( devices.disabled = 0 && devices.ignore = 0 ) ) ) ) = "1")]
  79. Status: NOCHG
  80. Rule #4 (BGP Session established):
  81. SQL[SELECT state FROM alerts WHERE rule_id = '4' && device_id = '19' ORDER BY id DESC LIMIT 1]
  82. SQL[SELECT * FROM bgpPeers WHERE (bgpPeers.device_id = '19') && (bgpPeers.bgpPeerFsmEstablishedTime < "300" && bgpPeers.bgpPeerState = "established")]
  83. Status: NOCHG
  84. Rule #8 (Sensor under limit):
  85. SQL[SELECT state FROM alerts WHERE rule_id = '8' && device_id = '19' ORDER BY id DESC LIMIT 1]
  86. SQL[SELECT * FROM sensors WHERE (sensors.device_id = '19') && (sensors.sensor_current < sensors.sensor_limit_low && sensors.sensor_alert = "1" )]
  87. Status: NOCHG
  88. Rule #19 (Power Devices up/down):
  89. SQL[SELECT state FROM alerts WHERE rule_id = '19' && device_id = '19' ORDER BY id DESC LIMIT 1]
  90. SQL[SELECT * FROM devices WHERE (devices.device_id = '19') && ( ( ( devices.status = 0 && ( ( devices.disabled = 0 && devices.ignore = 0 ) ) ) ) = "1" && devices.type = "Power" )]
  91. Status: NOCHG
  92. Rule #20 (Network Devices up/down):
  93. SQL[SELECT state FROM alerts WHERE rule_id = '20' && device_id = '19' ORDER BY id DESC LIMIT 1]
  94. SQL[SELECT * FROM devices WHERE (devices.device_id = '19') && ( ( ( devices.status = 0 && ( ( devices.disabled = 0 && devices.ignore = 0 ) ) ) ) = "1" && devices.type = "Network" )]
  95. Status: NOCHG
  96. Rule #21 (Servers up/down):
  97. SQL[SELECT state FROM alerts WHERE rule_id = '21' && device_id = '19' ORDER BY id DESC LIMIT 1]
  98. SQL[SELECT * FROM devices WHERE (devices.device_id = '19') && ( ( ( devices.status = 0 && ( ( devices.disabled = 0 && devices.ignore = 0 ) ) ) ) = "1" && devices.type = "Server" && devices.os NOT REGEXP "Print" )]
  99. Status: NOCHG
  100. Rule #22 (Power Device Rebooted):
  101. SQL[SELECT state FROM alerts WHERE rule_id = '22' && device_id = '19' ORDER BY id DESC LIMIT 1]
  102. SQL[SELECT * FROM devices WHERE (devices.device_id = '19') && ( ( ( devices.disabled = 0 && devices.ignore = 0 ) ) = "1" && devices.type = "Power" && devices.uptime < "300" )]
  103. Status: NOCHG
  104. Rule #23 (Network Device Rebooted):
  105. SQL[SELECT state FROM alerts WHERE rule_id = '23' && device_id = '19' ORDER BY id DESC LIMIT 1]
  106. SQL[SELECT * FROM devices WHERE (devices.device_id = '19') && ( ( ( devices.disabled = 0 && devices.ignore = 0 ) ) = "1" && devices.type = "Network" && devices.uptime < "300" )]
  107. Status: NOCHG
  108. Rule #24 (Server Rebooted):
  109. SQL[SELECT state FROM alerts WHERE rule_id = '24' && device_id = '19' ORDER BY id DESC LIMIT 1]
  110. SQL[SELECT * FROM devices WHERE (devices.device_id = '19') && ( ( ( devices.disabled = 0 && devices.ignore = 0 ) ) = "1" && devices.type = "Server" && devices.uptime < "300" && devices.os NOT REGEXP "Print" )]
  111. Status: NOCHG
  112. #### End Alerts ####
  113. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('poll','env-01','1484152858.1697','0.934','1','librenms.prp.lcl\n')]
  114. ./poller.php env-01 2017-01-11 11:40:59 - 1 devices polled in 0.934 secs
  115. SNMP: Get[4/0.08s] Walk [0/0.00s]
  116. MySQL: Cell[8/0.00s] Row[9/0.00s] Rows[15/0.01s] Column[3/0.00s] Update[1/0.00s] Insert[2/0.01s] Delete[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement