From librenms@switchmon, 1 Year ago, written in Plain Text.
Embed
  1. LibreNMS Poller
  2. Version info:
  3. Commit SHA: dad2a5e9cc0ea3dc5115d2fe2f0d5d5547289ffe
  4. Commit Date: 1489371686
  5. DB Schema: 176
  6. PHP: 7.0.16
  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[[0;33mSELECT * FROM `devices` WHERE `disabled` = 0 AND `device_id` = 3 ORDER BY `device_id` ASC[0m]
  14. SQL[[0;33mSELECT * FROM devices_attribs WHERE `device_id` = '3'[0m]
  15. Hostname: 172.21.1.2
  16. Device ID: 3
  17. OS: procurve
  18.  
  19. SQL[[0;33mINSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','1.23','2.05','1.55','3',NOW())[0m]
  20. SNMP Check response code: 0
  21. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 sysUpTime.0 sysLocation.0 sysContact.0 sysName.0 sysObjectID.0[0m]
  22. sysUpTime.0 = 1772695975
  23. sysLocation.0 =
  24. sysContact.0 =
  25. sysName.0 = backbone-comms-rack-1
  26. sysObjectID.0 = enterprises.*.11.89
  27.  
  28. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OvQ -m SNMPv2-MIB:HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 sysDescr.0[0m]
  29. ProCurve J9280A Switch 2510G-48, revision Y.11.35, ROM N.10.02 (/sw/code/build/cod(cod11))
  30.  
  31. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OQnUst -m HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 snmpEngineTime.0 hrSystemUptime.0[0m]
  32. snmpEngineTime.0 = 17726959
  33. hrSystemUptime.0 = No Such Object available on this agent at this OID
  34.  
  35. Using SNMP Agent Uptime (17726959s)
  36.   RRD[[0;32mupdate /opt/librenms/rrd/172.21.1.2/uptime.rrd N:17726959[0m]
  37. [[0;31mRRD Disabled[0m]Uptime: 205 days, 4h 9m 19s
  38. Modules status: Global+ OS  Device  
  39. #### Load poller module ucd-mib ####
  40. SNMP[[0;36m/usr/bin/snmpbulkwalk -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 systemStats[0m]
  41. systemStats = No Such Object available on this agent at this OID
  42.  
  43. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 memTotalSwap.0 memAvailSwap.0 memTotalReal.0 memAvailReal.0 memTotalFree.0 memShared.0 memBuffer.0 memCached.0[0m]
  44. memTotalSwap.0 = No Such Object available on this agent at this OID
  45. memAvailSwap.0 = No Such Object available on this agent at this OID
  46. memTotalReal.0 = No Such Object available on this agent at this OID
  47. memAvailReal.0 = No Such Object available on this agent at this OID
  48. memTotalFree.0 = No Such Object available on this agent at this OID
  49. memShared.0 = No Such Object available on this agent at this OID
  50. memBuffer.0 = No Such Object available on this agent at this OID
  51. memCached.0 = No Such Object available on this agent at this OID
  52.  
  53. SNMP[[0;36m/usr/bin/snmpget -v2c -c COMMUNITY -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/hp udp:HOSTNAME:161 laLoadInt.1 laLoadInt.2 laLoadInt.3[0m]
  54. laLoadInt.1 = No Such Object available on this agent at this OID
  55. laLoadInt.2 = No Such Object available on this agent at this OID
  56. laLoadInt.3 = No Such Object available on this agent at this OID
  57.  
  58.  
  59. >> Runtime for poller module 'ucd-mib': 0.0819 seconds with 832 bytes
  60. #### Unload poller module ucd-mib ####
  61.  
  62. RRD[[0;32mupdate /opt/librenms/rrd/172.21.1.2/poller-perf-ucd-mib.rrd N:0.081909894943237[0m]
  63. [[0;31mRRD Disabled[0m]### Start Device Groups ###
  64. SQL[[0;33mSELECT * FROM device_groups ORDER BY name[0m]
  65. SQL[[0;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='3'[0m]
  66. Groups Added:
  67. Groups Removed:
  68. ### End Device Groups ###
  69. RRD[[0;32mupdate /opt/librenms/rrd/172.21.1.2/poller-perf.rrd N:0.605[0m]
  70. [[0;31mRRD Disabled[0m]RRD[[0;32mupdate /opt/librenms/rrd/172.21.1.2/ping-perf.rrd N:1.55[0m]
  71. [[0;31mRRD Disabled[0m]Polled in 0.605 seconds
  72. Updating 172.21.1.2
  73. SQL[[0;33mUPDATE `devices` set `uptime` ='17726959',`last_ping` =NOW(),`last_ping_timetaken` ='1.55',`last_polled` =NOW(),`last_polled_timetaken` ='0.605' WHERE `device_id` = '3'[0m]
  74. UPDATED!
  75. #### Start Alerts ####
  76. SQL[[0;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='3'[0m]
  77. SQL[[0;33mSELECT 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 = '3' ) && ((alert_schedule.recurring = 0 AND (NOW() BETWEEN alert_schedule.start AND alert_schedule.end)) OR (alert_schedule.recurring = 1 AND (alert_schedule.start_recurring_dt <= date_format(NOW(), '[1;33m-[0;35m-%d') AND (end_recurring_dt >= date_format(NOW(), '[1;33m-[0;35m-%d') OR end_recurring_dt is NULL OR end_recurring_dt = '0000-00-00' OR end_recurring_dt = '')) AND (date_format(now(), '%H:%i:%s') BETWEEN `start_recurring_hr` AND end_recurring_hr) AND (recurring_day LIKE CONCAT('%',date_format(now(), '[0;37m'),'%') OR recurring_day is null or recurring_day = ''))) LIMIT 1[0m]
  78. SQL[[0;33mSELECT `device_group_id` FROM `device_group_device` WHERE `device_id`='3'[0m]
  79. SQL[[0;33mSELECT 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 = '3' ) || alert_map.target = '3'  )[0m]
  80. #### End Alerts ####
  81. SQL[[0;33mINSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('poll','3','1489418885.2285','0.683','1','switchmon\n')[0m]
  82. ./poller.php 3 2017-03-13 15:28:05 - 1 devices polled in 0.683 secs
  83. SNMP: Get[6/0.12s] Walk [1/0.05s]
  84. MySQL: Cell[3/0.00s] Row[0/-0.00s] Rows[6/0.00s] Column[3/0.00s] Update[1/0.02s] Insert[2/0.08s] Delete[0/0.00s]
  85.