- LibreNMS Discovery
- SQL[[1;33mselect `migration` from `migrations` order by `id` desc limit 1 [0;33m[][0m 0.79ms]
- SQL[[1;33mselect count(*) as aggregate from `migrations` [0;33m[][0m 0.81ms]
- SQL[[1;33mselect version() [0;33m[][0m 0.59ms]
- ===========================================
- Component | Version
- --------- | -------
- LibreNMS | 23.11.0-25-g3a5a64d5c (2023-12-09T14:24:01+01:00)
- DB Schema | 2023_11_21_172239_increase_vminfo.vmwvmguestos_column_length (274)
- PHP | 8.2.13
- Python | 3.11.2
- Database | MariaDB 10.11.4-MariaDB-1~deb12u1
- RRDTool | 1.7.2
- SNMP | 5.9.3
- ===========================================
- DEBUG!
- Updating os_def.cache
- Override discovery modules: discovery-protocols
- SQL[[1;33mSELECT * FROM `devices` WHERE disabled = 0 AND `device_id` = '11' ORDER BY device_id DESC [0;33m[][0m 1.27ms]
- sw3.mozoilo.lan 11 jetstream SQL[[1;33mselect * from `devices` where `device_id` = ? limit 1 [0;33m[11][0m 1.22ms]
- SQL[[1;33mselect * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [0;33m[11][0m 1.03ms]
- [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' 'sw3.mozoilo.lan'
- response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 2.08/7.53/12.5
- SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/tplink' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'mozpublic' '-OQXUte' 'udp:sw3.mozoilo.lan:161' 'SNMPv2-MIB::sysObjectID.0'[0m]
- SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.11863.5.158
- Modules status: Global+
- OS
- Device
- #### Load disco module core ####
- Attempting to initialize OS: jetstream
- OS initialized as Generic (jetstream)
- SNMP[[0;36m'/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/tplink' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'mozpublic' '-OQXUte' '-On' 'udp:sw3.mozoilo.lan:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0'[0m]
- .1.3.6.1.2.1.1.2.0 = .1.3.6.1.4.1.11863.5.158
- .1.3.6.1.2.1.1.1.0 = JetStream 10-Port Gigabit Smart Switch with 8-Port PoE+
- .1.3.6.1.2.1.1.5.0 = sw3.mozoilo.lan
- | JetStream 10-Port Gigabit Smart Switch with 8-Port PoE+ | .1.3.6.1.4.1.11863.5.158 |
- OS: TP-Link JetStream (jetstream)
- Attempting to initialize OS: jetstream
- OS initialized as Generic (jetstream)
- >> Runtime for discovery module 'core': 0.1000 seconds with 302624 bytes
- >> [0;36mSNMP[0m: [1/0.06s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]
- #### Unload disco module core ####
- Modules status: Global+
- OS
- Device+
- #### Load disco module discovery-protocols ####
- JETSTREAM-LLDP MIB: SNMP[[0;36m'/usr/bin/snmpbulkwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/tplink' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'mozpublic' '-OQXUte' '-Os' 'udp:sw3.mozoilo.lan:161' 'TPLINK-LLDPINFO-MIB::lldpNeighborInfoEntry'[0m]
- lldpNeighborPortId[49154][1] = "1/0/2"
- lldpNeighborPortId[49161][1] = "1/0/9"
- lldpNeighborPortIndexId[49154][1] = 1
- lldpNeighborPortIndexId[49161][1] = 1
- lldpNeighborChassisIdType[49154][1] = "MAC address"
- lldpNeighborChassisIdType[49161][1] = "MAC address"
- lldpNeighborChassisId[49154][1] = "78:54:2E:37:D0:C0"
- lldpNeighborChassisId[49161][1] = "9C:53:22:73:3C:58"
- lldpNeighborPortIdType[49154][1] = "Interface alias"
- lldpNeighborPortIdType[49161][1] = "Interface name"
- lldpNeighborPortIdDescr[49154][1] = "15"
- lldpNeighborPortIdDescr[49161][1] = "gigabitEthernet 1/0/3"
- lldpNeighborTtl[49154][1] = 120
- lldpNeighborTtl[49161][1] = 120
- lldpNeighborPortDescr[49154][1] = "Ethernet Interface"
- lldpNeighborPortDescr[49161][1] = "gigabitEthernet 1/0/3"
- lldpNeighborDeviceName[49154][1] = "SW-DLINK"
- lldpNeighborDeviceName[49161][1] = "sw2.mozoilo.lan"
- lldpNeighborDeviceDescr[49154][1] = "DGS-1210-16 4.21.B008"
- lldpNeighborDeviceDescr[49161][1] = "JetStream 10-Port Gigabit Smart Switch with 8-Port PoE+"
- lldpNeighborCapAvailable[49154][1] = "Repeater Bridge "
- lldpNeighborCapAvailable[49161][1] = "Bridge Router "
- lldpNeighborCapEnabled[49154][1] = "Repeater Bridge "
- lldpNeighborCapEnabled[49161][1] = "Bridge Router "
- lldpNeighborManageIpAddr[49154][1] = "192.168.250.80"
- lldpNeighborManageIpAddr[49161][1] = "192.168.250.82"
- lldpNeighborManageAddrType[49154][1] = "ipv4
- "
- lldpNeighborManageAddrType[49161][1] = "ipv4
- "
- lldpNeighborManageAddrInterfaceType[49154][1] = "IfIndex
- "
- lldpNeighborManageAddrInterfaceType[49161][1] = "IfIndex
- "
- lldpNeighborManageAddrInterfaceId[49154][1] = 5121
- lldpNeighborManageAddrInterfaceId[49161][1] = 1
- lldpNeighborManageAddrOID[49154][1] = "01030601020102020101"
- lldpNeighborManageAddrOID[49161][1] = "0"
- lldpNeighborPortAndProtocolVlanID[49154][1] = ""
- lldpNeighborPortAndProtocolVlanID[49161][1] = ""
- lldpNeighborVlanName[49154][1] = "vid: 1, VLAN name: default; "
- lldpNeighborVlanName[49161][1] = "vid: 1, VLAN name: System-VLAN; "
- lldpNeighborProtocolIdentity[49154][1] = "0027424203000002; "
- lldpNeighborProtocolIdentity[49161][1] = ""
- lldpNeighborAutoNegotiationSupported[49154][1] = 1
- lldpNeighborAutoNegotiationSupported[49161][1] = 1
- lldpNeighborAutoNegotiationEnabled[49154][1] = 1
- lldpNeighborAutoNegotiationEnabled[49161][1] = 1
- lldpNeighborOperMau[49154][1] = "speed(1000)/duplex(Full)"
- lldpNeighborOperMau[49161][1] = "speed(1000)/duplex(Full)"
- lldpNeighborLinkAggregationSupported[49154][1] = 1
- lldpNeighborLinkAggregationSupported[49161][1] = 1
- lldpNeighborLinkAggregationEnabled[49154][1] = 0
- lldpNeighborLinkAggregationEnabled[49161][1] = 0
- lldpNeighborAggregationPortId[49154][1] = 15
- lldpNeighborAggregationPortId[49161][1] = 0
- lldpNeighborPowerPortClass[49154][1] = " "
- lldpNeighborPowerPortClass[49161][1] = "PSE"
- lldpNeighborPsePowerSupported[49154][1] = 0
- lldpNeighborPsePowerSupported[49161][1] = 1
- lldpNeighborPsePowerEnabled[49154][1] = 0
- lldpNeighborPsePowerEnabled[49161][1] = 0
- lldpNeighborPsePairsControlAbility[49154][1] = 0
- lldpNeighborPsePairsControlAbility[49161][1] = 0
- lldpNeighborMaximumFrameSize[49154][1] = 1536
- lldpNeighborMaximumFrameSize[49161][1] = 1518
- Reporting disabled by user setting
- [0;31mError discovering discovery-protocols module for sw3.mozoilo.lan.[0m TypeError: key(): Argument #1 ($array) must be of type array, null given in /opt/librenms/includes/discovery/discovery-protocols.inc.php:206
- Stack trace:
- #0 /opt/librenms/includes/discovery/discovery-protocols.inc.php(206): key()
- #1 /opt/librenms/includes/discovery/functions.inc.php(164): include('...')
- #2 /opt/librenms/discovery.php(108): discover_device()
- #3 {main}
- SQL[[1;33minsert into `eventlog` (`reference`, `type`, `datetime`, `severity`, `message`, `username`, `device_id`) values (?, ?, ?, ?, ?, ?, ?) [0;33m[null,"discovery","2023-12-10 20:42:48",5,"Error discovering discovery-protocols module. Check log file for more details.","",11][0m 2.7ms]
- key(): Argument #1 ($array) must be of type array, null given {"exception":"[object] (TypeError(code: 0): key(): Argument #1 ($array) must be of type array, null given at /opt/librenms/includes/discovery/discovery-protocols.inc.php:206)"}
- >> Runtime for discovery module 'discovery-protocols': 0.6190 seconds with 501600 bytes
- >> [0;36mSNMP[0m: [1/0.60s] [1;33mMySQL[0m: [1/0.03s] [0;32mRRD[0m: [0/0.00s]
- #### Unload disco module discovery-protocols ####
- SQL[[1;33mupdate `devices` set `last_discovered_timetaken` = ?, `last_discovered` = NOW() where `device_id` = ? [0;33m[1.835,11][0m 2.86ms]
- Discovered in 1.835 seconds
- ./discovery.php 11 2023-12-10 20:42:48 - 1 devices discovered in 2.496 secs
- [0;36mSNMP[0m [3/0.72s]: Snmpget[2/0.12s] Snmpwalk[1/0.60s]
- [1;33mSQL[0m [9/0.13s]: Select[7/0.07s] Insert[1/0.03s] Update[1/0.03s]
- [0;32mRRD[0m [0/0.00s]: