Advertisement
kyob

Untitled

Dec 19th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. LibreNMS Poller
  2. Version info:
  3. Commit SHA: ab29261f0c7c0578fd50ab491056b7f7db025671
  4. Commit Date: 1482095846
  5. DB Schema: 152
  6. PHP: 7.0.14
  7. MySQL: 5.5.52-MariaDB
  8. RRDTool: 1.4.8
  9. SNMP: NET-SNMP 5.7.2
  10. DEBUG!
  11. Starting polling run:
  12.  
  13. SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `hostname` = '10.20.3.4' ORDER BY `device_id` ASC]
  14. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '91']
  15. Hostname: 10.20.3.4
  16. Device ID: 91
  17. OS: generic
  18.  
  19. SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','2.64','2.81','2.70','91',NOW())]
  20. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysObjectID.0]
  21. SNMPv2-SMI::enterprises.572.17389.204
  22.  
  23. SNMP[/usr/bin/snmpget -v2c -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 = 2559612572
  25. sysLocation.0 = Ulanow1b
  26. sysContact.0 =
  27. sysName.0 = Ulanow_1b
  28. sysObjectID.0 = enterprises.572.17389.204
  29.  
  30. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OvQ -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 sysDescr.0]
  31. ES-3050 Managed FE Switch
  32.  
  33. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs udp:HOSTNAME:161 snmpEngineTime.0 hrSystemUptime.0]
  34. snmpEngineTime.0 = 132792525
  35. hrSystemUptime.0 = No Such Object available on this agent at this OID
  36.  
  37. Using SNMP Agent Uptime (25596125s)
  38. hrSystemUptime or sysUpTime looks like to have rolled, using snmpEngineTime insteadRRD[update 10.20.3.4/uptime.rrd N:132792525 --daemon unix:/var/run/rrdcached/rrdcached.sock]
  39. [RRD Disabled]Uptime: 4 years, 76 days, 22h 48m 45s
  40. SQL[SELECT `lat`,`lng` FROM `locations` WHERE `location`='Ulanow1b' LIMIT 1]
  41. Using cached lat/lng from other device
  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.0003 seconds
  51. #### Unload poller module os ####
  52.  
  53. RRD[update 10.20.3.4/poller-perf-os.rrd N:0.00029706954956055 --daemon unix:/var/run/rrdcached/rrdcached.sock]
  54. [RRD Disabled]### Start Device Groups ###
  55. SQL[SELECT * FROM device_groups ORDER BY name]
  56. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='91']
  57. Groups Added:
  58. Groups Removed:
  59. ### End Device Groups ###
  60. RRD[update 10.20.3.4/poller-perf.rrd N:0.510 --daemon unix:/var/run/rrdcached/rrdcached.sock]
  61. [RRD Disabled]RRD[update 10.20.3.4/ping-perf.rrd N:2.70 --daemon unix:/var/run/rrdcached/rrdcached.sock]
  62. [RRD Disabled]Polled in 0.510 seconds
  63. Updating 10.20.3.4
  64. SQL[UPDATE `devices` set `uptime` ='132792525',`last_ping` =NOW(),`last_ping_timetaken` ='2.70',`last_polled` =NOW(),`last_polled_timetaken` ='0.510' WHERE `device_id` = '91']
  65. UPDATED!
  66. #### Start Alerts ####
  67. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='91']
  68. 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 = '91' ) && NOW() BETWEEN alert_schedule.start AND alert_schedule.end LIMIT 1]
  69. SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='91']
  70. 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 = '91' ) || alert_map.target = '91' )]
  71. #### End Alerts ####
  72. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('poll','10.20.3.4','1482148864.3075','0.545','1','LIBRENMS\n')]
  73. ./poller.php 10.20.3.4 2016-12-19 13:01:04 - 1 devices polled in 0.545 secs
  74. SNMP: Get[4/0.10s] Walk [0/0.00s]
  75. MySQL: Cell[3/0.00s] Row[1/0.00s] Rows[6/0.00s] Column[3/0.00s] Update[1/0.00s] Insert[2/0.00s] Delete[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement