Guest User

BGP Discovery Output

a guest
Oct 2nd, 2023
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. LibreNMS Discovery
  2. SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.3ms]
  3.  
  4. SQL[select count(*) as aggregate from `migrations` [] 0.19ms]
  5.  
  6. SQL[select version() [] 0.13ms]
  7.  
  8. ===========================================
  9. Component | Version
  10. --------- | -------
  11. LibreNMS | 23.9.1-27-g087053ae9 (2023-09-28T15:08:14-07:00)
  12. DB Schema | 2023_08_30_105156_add_applications_soft_deleted (259)
  13. PHP | 8.1.2-1ubuntu2.14
  14. Python | 3.10.12
  15. Database | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
  16. RRDTool | 1.7.2
  17. SNMP | 5.9.1
  18. ===========================================
  19. DEBUG!
  20. Updating os_def.cache
  21. Override discovery modules: bgp-peers
  22. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE 'x.x.x.x' ORDER BY device_id DESC [] 0.49ms]
  23.  
  24. SQL[select * from `devices` where `device_id` = ? limit 1 [850] 0.27ms]
  25.  
  26. SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [850] 0.22ms]
  27.  
  28. x.x.x.x 850 fortigate [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' 'x.x.x.x'
  29.  
  30. response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.101/0.118/0.129
  31. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fortinet' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v3' '-l' 'authPriv' '-n' "" '-x' 'AES' '-X' 'password' '-a' 'SHA' '-A' 'password' '-u' 'username' '-OQXUte' 'udp:x.x.x.x:161' 'SNMPv2-MIB::sysObjectID.0']
  32. SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.12356.101.1.6006
  33.  
  34.  
  35. Modules status: Global+
  36. OS
  37. Device
  38.  
  39. #### Load disco module core ####
  40. Attempting to initialize OS: fortigate
  41. OS initialized: LibreNMS\OS\Fortigate
  42. SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fortinet' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v3' '-l' 'authPriv' '-n' "" '-x' 'AES' '-X' 'password' '-a' 'SHA' '-A' 'password' '-u' 'username' '-OQXUte' '-On' 'udp:x.x.x.x:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0']
  43. .1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.12356.101.1.6006
  44. .1.3.6.1.2.1.1.1.0 = Fortigate 601E FW01
  45. .1.3.6.1.2.1.1.5.0 = fw01a.
  46.  
  47.  
  48. | Fortigate 601E FW01 | .1.3.6.1.4.1.12356.101.1.6006 |
  49.  
  50. OS: Fortinet Fortigate (fortigate)
  51.  
  52. Attempting to initialize OS: fortigate
  53. OS initialized: LibreNMS\OS\Fortigate
  54.  
  55. >> Runtime for discovery module 'core': 0.0290 seconds with 11864 bytes
  56. >> SNMP: [1/0.02s] MySQL: [0/0.00s] RRD: [0/0.00s]
  57. #### Unload disco module core ####
  58.  
  59. Modules status: Global+
  60. OS
  61. Device+
  62.  
  63. #### Load disco module bgp-peers ####
  64. SNMP['/usr/bin/snmpgetnext' '-v3' '-l' 'authPriv' '-n' "" '-a' 'SHA' '-A' 'password' '-u' 'username' '-x' 'AES' '-X' 'password' '-OQUsv' '-m' 'BGP4-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fortinet' 'udp:x.x.x.x:161' 'bgpLocalAs']
  65. "ha"
  66.  
  67. SQL[select * from `vrf_lite_cisco` where `vrf_lite_cisco`.`device_id` = ? and `vrf_lite_cisco`.`device_id` is not null [850] 0.31ms]
  68.  
  69. No BGP on hostPeers :
  70. SQL[DELETE FROM `bgpPeers` WHERE device_id=? AND context_name=? [850,""] 0.18ms]
  71.  
  72. SQL[DELETE FROM `bgpPeers_cbgp` WHERE device_id=? AND context_name=? [850,""] 0.16ms]
  73.  
  74.  
  75. SQL[SELECT DISTINCT context_name FROM bgpPeers WHERE device_id=? [850] 0.23ms]
  76.  
  77.  
  78. >> Runtime for discovery module 'bgp-peers': 0.0230 seconds with 42000 bytes
  79. >> SNMP: [1/0.02s] MySQL: [4/0.01s] RRD: [0/0.00s]
  80. #### Unload disco module bgp-peers ####
  81.  
  82. SQL[update `devices` set `last_discovered_timetaken` = ?, `last_discovered` = NOW() where `device_id` = ? [1.078,850] 0.41ms]
  83.  
  84. Discovered in 1.078 seconds
  85.  
  86. ./discovery.php x.x.x.x 2023-10-02 09:41:37 - 1 devices discovered in 1.210 secs
  87.  
  88. SNMP [3/0.06s]: Snmpget[2/0.03s] Snmpgetnext[1/0.02s]
  89. SQL [12/0.03s]: Select[9/0.02s] Delete[2/0.00s] Update[1/0.00s]
  90. RRD [0/0.00s]:
  91.  
Advertisement
Add Comment
Please, Sign In to add comment