Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LibreNMS Discovery
- SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.3ms]
- SQL[select count(*) as aggregate from `migrations` [] 0.19ms]
- SQL[select version() [] 0.13ms]
- ===========================================
- Component | Version
- --------- | -------
- LibreNMS | 23.9.1-27-g087053ae9 (2023-09-28T15:08:14-07:00)
- DB Schema | 2023_08_30_105156_add_applications_soft_deleted (259)
- PHP | 8.1.2-1ubuntu2.14
- Python | 3.10.12
- Database | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
- RRDTool | 1.7.2
- SNMP | 5.9.1
- ===========================================
- DEBUG!
- Updating os_def.cache
- Override discovery modules: bgp-peers
- SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE 'x.x.x.x' ORDER BY device_id DESC [] 0.49ms]
- SQL[select * from `devices` where `device_id` = ? limit 1 [850] 0.27ms]
- SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [850] 0.22ms]
- x.x.x.x 850 fortigate [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' 'x.x.x.x'
- response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.101/0.118/0.129
- 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']
- SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.12356.101.1.6006
- Modules status: Global+
- OS
- Device
- #### Load disco module core ####
- Attempting to initialize OS: fortigate
- OS initialized: LibreNMS\OS\Fortigate
- 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']
- .1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.12356.101.1.6006
- .1.3.6.1.2.1.1.1.0 = Fortigate 601E FW01
- .1.3.6.1.2.1.1.5.0 = fw01a.
- | Fortigate 601E FW01 | .1.3.6.1.4.1.12356.101.1.6006 |
- OS: Fortinet Fortigate (fortigate)
- Attempting to initialize OS: fortigate
- OS initialized: LibreNMS\OS\Fortigate
- >> Runtime for discovery module 'core': 0.0290 seconds with 11864 bytes
- >> SNMP: [1/0.02s] MySQL: [0/0.00s] RRD: [0/0.00s]
- #### Unload disco module core ####
- Modules status: Global+
- OS
- Device+
- #### Load disco module bgp-peers ####
- 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']
- "ha"
- SQL[select * from `vrf_lite_cisco` where `vrf_lite_cisco`.`device_id` = ? and `vrf_lite_cisco`.`device_id` is not null [850] 0.31ms]
- No BGP on hostPeers :
- SQL[DELETE FROM `bgpPeers` WHERE device_id=? AND context_name=? [850,""] 0.18ms]
- SQL[DELETE FROM `bgpPeers_cbgp` WHERE device_id=? AND context_name=? [850,""] 0.16ms]
- SQL[SELECT DISTINCT context_name FROM bgpPeers WHERE device_id=? [850] 0.23ms]
- >> Runtime for discovery module 'bgp-peers': 0.0230 seconds with 42000 bytes
- >> SNMP: [1/0.02s] MySQL: [4/0.01s] RRD: [0/0.00s]
- #### Unload disco module bgp-peers ####
- SQL[update `devices` set `last_discovered_timetaken` = ?, `last_discovered` = NOW() where `device_id` = ? [1.078,850] 0.41ms]
- Discovered in 1.078 seconds
- ./discovery.php x.x.x.x 2023-10-02 09:41:37 - 1 devices discovered in 1.210 secs
- SNMP [3/0.06s]: Snmpget[2/0.03s] Snmpgetnext[1/0.02s]
- SQL [12/0.03s]: Select[9/0.02s] Delete[2/0.00s] Update[1/0.00s]
- RRD [0/0.00s]:
Advertisement
Add Comment
Please, Sign In to add comment