Advertisement
Guest User

akcp librenms discovery

a guest
Aug 18th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. ./discovery.php -h 10.254.103.22 -d -m ports
  2. LibreNMS Discovery
  3. ===================================
  4. Version info:
  5. Commit SHA: 149857f246fef4d83f5f37a7e5a87fdedce113f2
  6. Commit Date: 1502992184
  7. DB Schema: 204
  8. PHP: 5.4.16
  9. MySQL: 5.5.52-MariaDB
  10. RRDTool: 1.4.8
  11. SNMP: NET-SNMP 5.7.2
  12. ==================================DEBUG!
  13. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE '10.254.103.22' ORDER BY device_id DESC]
  14. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '423']
  15. 10.254.103.22 423 akcp SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`) VALUES ('3','3','0','4.10','4.92','4.41','423',NOW())]
  16. SNMP Check response code: 0
  17.  
  18. Modules status: Global+ OS Device
  19. #### Load disco module ports ####
  20. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/akcp udp:HOSTNAME:161 ifDescr]
  21. ifDescr.1 = AKCP
  22.  
  23. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/akcp udp:HOSTNAME:161 ifName]
  24.  
  25. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/akcp udp:HOSTNAME:161 ifAlias]
  26.  
  27. SNMP[/usr/bin/snmpwalk -v1 -c COMMUNITY -OQUs -m IF-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/akcp udp:HOSTNAME:161 ifType]
  28. ifType.1 = ethernetCsmacd
  29.  
  30. Array
  31. (
  32. [1] => Array
  33. (
  34. [ifDescr] => AKCP
  35. [ifType] => ethernetCsmacd
  36. )
  37.  
  38. )
  39. SQL[SELECT `name` FROM `port_association_mode` WHERE pom_id = '1']
  40. SQL[SELECT * FROM `ports` WHERE `device_id` = '423' ORDER BY port_id]
  41. .
  42.  
  43. >> Runtime for discovery module 'ports': 0.1510 seconds with 4240 bytes
  44. #### Unload disco module ports ####
  45.  
  46. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '423' AND `attrib_type` = 'poll_mib' ]
  47. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='0.673' WHERE `device_id` = '423']
  48. Discovered in 0.673 seconds
  49.  
  50. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES ('discover','10.254.103.22','1503051512.6609','4.372','1','librenms.kabelplus.co.at\n')]
  51. ./discovery.php 10.254.103.22 2017-08-18 12:18:37 - 1 devices discovered in 4.372 secs
  52. SNMP: Get[1/0.09s] Walk [4/0.15s]
  53. MySQL: Cell[2/0.00s] Row[2/0.00s] Rows[3/0.00s] Column[0/0.00s] Update[1/0.00s] Insert[2/0.00s] Delete[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement