LibreNMS Discovery SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.83ms] SQL[select count(*) as aggregate from `migrations` limit 1 [] 0.66ms] SQL[select version() [] 0.99ms] =================================== Version info: Commit SHA: 06c361c2b529b20dfa6750072a1c1ef7a0803d9b Commit Date: 1664425930 DB Schema: 2022_09_03_091314_update_ports_adsl_table_with_defaults (246) PHP: 7.4.3 Database: MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1 RRDTool: 1.7.2 SNMP: 5.8 ==================================DEBUG! Updating os_def.cache SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE '192.168.2.61' ORDER BY device_id DESC [] 1.36ms] SQL[select * from `devices` where `device_id` = ? limit 1 [120] 0.78ms] SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [120] 0.39ms] 192.168.2.61 120 fs-net-pdu [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' '192.168.2.61' response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.66/0.73/0.83 SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0'] SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.30966 Modules status: Global+ OS Device #### Load disco module core #### Attempting to initialize OS: fs-net-pdu Attempting to initialize Group OS: fs OS initialized as Generic SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' '-v1' '-c' 'COMMUNITY' '-OQXUte' '-On' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysObjectID.0' 'SNMPv2-MIB::sysDescr.0' 'SNMPv2-MIB::sysName.0'] .*.*.0 = .*.4.1.30966 .*.*.0 = net-pdu .*.*.0 = IP-PDU | net-pdu | .1.3.6.1.4.1.30966 | OS: FS.COM monitored pdu (fs-net-pdu) Attempting to initialize OS: fs-net-pdu Attempting to initialize Group OS: fs OS initialized as Generic >> Runtime for discovery module 'core': 0.1020 seconds with -77608 bytes >> SNMP: [1/0.04s] MySQL: [0/0.00s] RRD: [0/0.00s] #### Unload disco module core #### Modules status: Global+ OS Device #### Load disco module os #### Yaml location data: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'SNMPv2-MIB::sysLocation.0'] location SQL[select * from `locations` where (`location` = ?) limit 1 ["location"] 0.95ms] ::query() failed: DNS request failed: The domain name referenced in the query does not exist. SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'sysContact.0'] contact Yaml OS data: Location: location Hardware: OS Version: OS Features: Serial: >> Runtime for discovery module 'os': 0.0960 seconds with 581416 bytes >> SNMP: [4/0.07s] MySQL: [1/0.01s] RRD: [0/0.00s] #### Unload disco module os #### Modules status: Global+ OS Device #### Load disco module ports #### SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ifDescr'] ifDescr.1 = e0 SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ifName'] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ifAlias'] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ifType'] ifType.1 = 0 SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ifOperStatus'] ifOperStatus.1 = up array ( 1 => array ( 'ifDescr' => 'e0', 'ifType' => '0', 'ifOperStatus' => 'up', ), ) SQL[SELECT * FROM `ports` WHERE `device_id` = ? ORDER BY port_id [120] 1.81ms] Using ifDescr as ifAlias Using ifDescr as ifName SQL[UPDATE `ports` set `ifDescr`=?,`ifType`=?,`ifOperStatus`=?,`ifIndex`=?,`ifAlias`=?,`ifName`=? WHERE `port_id` = ? ["e0","0","up",1,"e0","e0",1186083] 1.02ms] . >> Runtime for discovery module 'ports': 0.1750 seconds with 14072 bytes >> SNMP: [5/0.17s] MySQL: [2/0.03s] RRD: [0/0.00s] #### Unload disco module ports #### Modules status: Global+ OS Device #### Load disco module ports-stack #### SQL[SELECT * FROM `ports_stack` WHERE `device_id` = '120' [] 2ms] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IF-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ifStackStatus'] >> Runtime for discovery module 'ports-stack': 0.0400 seconds with 952 bytes >> SNMP: [0/0.00s] MySQL: [1/0.02s] RRD: [0/0.00s] #### Unload disco module ports-stack #### Modules status: Global- OS Device Module [ xdsl ] disabled globally. Modules status: Global+ OS Device #### Load disco module entity-physical #### Caching OIDs: entPhysicalEntrySNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB:CISCO-ENTITY-VENDORTYPE-OID-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'entPhysicalEntry'] MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (CISCO-ENTITY-VENDORTYPE-OID-MIB): At line 1 in (none) SQL[SELECT * FROM `entPhysical` WHERE `device_id` = ? [120] 0.79ms] >> Runtime for discovery module 'entity-physical': 0.0460 seconds with 10896 bytes >> SNMP: [1/0.04s] MySQL: [1/0.01s] RRD: [0/0.00s] #### Unload disco module entity-physical #### Modules status: Global- OS Device Module [ entity-state ] disabled globally. Modules status: Global- OS Device Module [ isis ] disabled globally. Modules status: Global+ OS Device #### Load disco module processors #### No YAML Discovery data. Host Resources: SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'hrProcessorLoad'] UCD Resources: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Ovq' '-M' '/opt/librenms/mibs' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.2021.11.11.0'] Exitcode: 2 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: iso.3.6.1.4.1.2021.11.11.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: iso.3.6.1.4.1.2021.11.11.0 SQL[SELECT * FROM `processors` WHERE `device_id`=? [120] 1.38ms] SQL[DELETE T FROM `processors` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `devices`.`device_id` IS NULL [] 4.25ms] >> Runtime for discovery module 'processors': 0.0820 seconds with 104344 bytes >> SNMP: [2/0.06s] MySQL: [2/0.06s] RRD: [0/0.00s] #### Unload disco module processors #### Modules status: Global+ OS Device #### Load disco module mempools #### SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'hrStorageTable'] SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-OQUv' '-m' 'HOST-RESOURCES-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'hrMemorySize.0'] Exitcode: 2 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: HOST-RESOURCES-MIB::hrMemorySize.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: HOST-RESOURCES-MIB::hrMemorySize.0 SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'memTotalSwap.0' 'memAvailSwap.0' 'memTotalReal.0' 'memAvailReal.0' 'memBuffer.0' 'memCached.0' 'memSysAvail.0'] Exitcode: 2 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memTotalSwap.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memAvailSwap.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memTotalReal.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memAvailReal.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memBuffer.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memCached.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memSysAvail.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memTotalSwap.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memAvailSwap.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memTotalReal.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memAvailReal.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memBuffer.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memCached.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: memSysAvail.0 SQL[select * from `mempools` where `mempools`.`device_id` = ? and `mempools`.`device_id` is not null [120] 1.53ms] >> Runtime for discovery module 'mempools': 0.1110 seconds with 96832 bytes >> SNMP: [2/0.07s] MySQL: [1/0.02s] RRD: [0/0.00s] #### Unload disco module mempools #### Modules status: Global+ OS Device #### Load disco module cisco-vrf-lite #### SQL[SELECT * FROM vrf_lite_cisco WHERE device_id = ? [120] 0.85ms] >> Runtime for discovery module 'cisco-vrf-lite': 0.0020 seconds with 2136 bytes >> SNMP: [0/0.00s] MySQL: [1/0.01s] RRD: [0/0.00s] #### Unload disco module cisco-vrf-lite #### Modules status: Global- OS Device Module [ cisco-mac-accounting ] disabled globally. Modules status: Global- OS Device Module [ cisco-pw ] disabled globally. Modules status: Global- OS Device Module [ vrf ] disabled globally. Modules status: Global- OS Device Module [ cisco-cef ] disabled globally. Modules status: Global- OS Device Module [ slas ] disabled globally. Modules status: Global- OS Device Module [ cisco-cbqos ] disabled globally. Modules status: Global- OS Device Module [ cisco-otv ] disabled globally. Modules status: Global- OS Device Module [ cisco-qfp ] disabled globally. Modules status: Global+ OS Device #### Load disco module ipv4-addresses #### SQL[select * from `vrf_lite_cisco` where `vrf_lite_cisco`.`device_id` = ? and `vrf_lite_cisco`.`device_id` is not null [120] 1.43ms] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-Osq' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ipAdEntIfIndex'] ipAdEntIfIndex.* 1 SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-m' 'IP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ipAdEntNetMask.192.168.2.61'] * SQL[SELECT COUNT(*) FROM `ports` WHERE device_id = ? AND `ifIndex` = ? [120,"1"] 1.07ms] SQL[SELECT `port_id` FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [120,"1"] 0.74ms] SQL[SELECT COUNT(*) FROM `ipv4_networks` WHERE `ipv4_network` = ? ["192.168.2.0\/24"] 0.46ms] SQL[UPDATE `ipv4_networks` set `context_name`=? WHERE `ipv4_network` = ? ["","192.168.2.0\/24"] 0.61ms] sSQL[SELECT `ipv4_network_id` FROM `ipv4_networks` WHERE `ipv4_network` = ? ["192.168.2.0\/24"] 0.46ms] SQL[SELECT COUNT(*) FROM `ipv4_addresses` WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ? ["192.168.2.61",24,1186083] 0.54ms] SQL[UPDATE `ipv4_addresses` set `context_name`=? WHERE `ipv4_address` = ? AND `ipv4_prefixlen` = ? AND `port_id` = ? ["","192.168.2.61",24,1186083] 0.6ms] .SQL[SELECT `ipv4_addresses`.*, `ports`.`device_id`, `ports`.`ifIndex` FROM `ipv4_addresses` LEFT JOIN `ports` ON `ipv4_addresses`.`port_id` = `ports`.`port_id` WHERE `ports`.device_id = ? OR `ports`.`device_id` IS NULL [120] 2.63ms] >> Runtime for discovery module 'ipv4-addresses': 0.0920 seconds with 44984 bytes >> SNMP: [2/0.08s] MySQL: [9/0.09s] RRD: [0/0.00s] #### Unload disco module ipv4-addresses #### Modules status: Global+ OS Device #### Load disco module ipv6-addresses #### SNMP['/usr/bin/snmpwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' '-v1' '-c' 'COMMUNITY' '-OQXUt' 'udp:HOSTNAME:161' 'IP-MIB::ipAddressIfIndex.ipv6'] SNMP query failed. Exit Code: 0 Empty: true Bad String: not found SNMP failed walking IP-MIB::ipAddressIfIndex.ipv6 of IP-MIB::ipAddressIfIndex.ipv6,IP-MIB::ipAddressOrigin.ipv6,IP-MIB::ipAddressPrefix.ipv6 aborting. SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OsqnU' '-Ln' '-m' 'IPV6-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'ipv6AddrPfxLength'] SQL[SELECT `ipv6_addresses`.*, `ports`.`device_id`, `ports`.`ifIndex` FROM `ipv6_addresses` LEFT JOIN `ports` ON `ipv6_addresses`.`port_id` = `ports`.`port_id` WHERE `ports`.device_id = ? OR `ports`.`device_id` IS NULL [120] 1.78ms] >> Runtime for discovery module 'ipv6-addresses': 0.0880 seconds with 2488 bytes >> SNMP: [2/0.08s] MySQL: [1/0.02s] RRD: [0/0.00s] #### Unload disco module ipv6-addresses #### Modules status: Global- OS Device Module [ route ] disabled globally. Modules status: Global+ OS Device #### Load disco module sensors #### ENTITY-SENSOR: Caching OIDs: entPhysicalDescrSNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'ENTITY-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'entPhysicalDescr'] SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["voltage",120,"ipmi"] 2.34ms] SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["temperature",120,"ipmi"] 1.84ms] SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["fanspeed",120,"ipmi"] 1.51ms] SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["power",120,"ipmi"] 1.54ms] Airflow: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["airflow",120,"snmp"] 2.38ms] Current: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.30966.10.3.2.4.0'] 0 array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["current",120,"snmp"] 2.49ms] Charge: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["charge",120,"snmp"] 2.62ms] Dbm: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["dbm",120,"snmp"] 2.19ms] Fanspeed: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["fanspeed",120,"snmp"] 1.95ms] Frequency: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["frequency",120,"snmp"] 1.87ms] Humidity: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["humidity",120,"snmp"] 1.87ms] Load: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["load",120,"snmp"] 2.64ms] Loss: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["loss",120,"snmp"] 2.16ms] Power: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["power",120,"snmp"] 1.96ms] Power_consumed: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["power_consumed",120,"snmp"] 1.54ms] Power_factor: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["power_factor",120,"snmp"] 1.44ms] Runtime: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["runtime",120,"snmp"] 1.73ms] Signal: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["signal",120,"snmp"] 2.26ms] State: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["state",120,"snmp"] 2.01ms] Count: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["count",120,"snmp"] 1.79ms] Temperature: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["temperature",120,"snmp"] 1.75ms] Tv_signal: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["tv_signal",120,"snmp"] 1.76ms] Bitrate: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["bitrate",120,"snmp"] 1.69ms] Voltage: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.30966.10.3.2.1.0'] 232 Discover sensor: .1.3.6.1.4.1.30966.10.3.2.1.0, 0, PDU L1, Voltage, snmp, 1, 1, , 232, (limits: LL: , LW: , W: , H: ) SQL[SELECT COUNT(sensor_id) FROM `sensors` WHERE `poller_type`= ? AND `sensor_class` = ? AND `device_id` = ? AND sensor_type = ? AND `sensor_index` = ? ["snmp","voltage",120,"PDU L1","0"] 2.54ms] SQL[SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `device_id` = ? AND `sensor_type` = ? AND `sensor_index` = ? ["voltage",120,"PDU L1","0"] 1.63ms] .array ( 'PDU L1' => array ( 0 => 1, ), ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["voltage",120,"snmp"] 2.19ms] 0 -> PDU L1 Snr: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["snr",120,"snmp"] 1.86ms] Pressure: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["pressure",120,"snmp"] 1.81ms] Cooling: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["cooling",120,"snmp"] 1.36ms] Delay: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["delay",120,"snmp"] 1.38ms] Quality_factor: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["quality_factor",120,"snmp"] 1.57ms] Chromatic_dispersion: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["chromatic_dispersion",120,"snmp"] 1.55ms] Ber: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["ber",120,"snmp"] 1.46ms] Eer: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["eer",120,"snmp"] 1.38ms] Waterflow: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["waterflow",120,"snmp"] 1.49ms] Percent: array ( ) SQL[SELECT * FROM sensors AS S, devices AS D WHERE S.sensor_class=? AND S.device_id = D.device_id AND D.device_id = ? AND S.poller_type = ? ["percent",120,"snmp"] 2.53ms] >> Runtime for discovery module 'sensors': 0.2270 seconds with 97832 bytes >> SNMP: [3/0.11s] MySQL: [36/0.68s] RRD: [0/0.00s] #### Unload disco module sensors #### Modules status: Global+ OS Device #### Load disco module storage #### SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'IBM-AIX-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'aixFsTableEntry'] Exitcode: 1 MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (IBM-AIX-MIB): At line 1 in (none) aixFsTableEntry: Unknown Object Identifier (Sub-id not found: (top) -> aixFsTableEntry) MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (IBM-AIX-MIB): At line 1 in (none) aixFsTableEntry: Unknown Object Identifier (Sub-id not found: (top) -> aixFsTableEntry) aix_filesystem : SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'DATA-DOMAIN-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs:/opt/librenms/mibs/datadomain' 'udp:HOSTNAME:161' 'fileSystemSpaceTable'] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'FREENAS-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'datasetTable'] Exitcode: 1 MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (FREENAS-MIB): At line 1 in (none) datasetTable: Unknown Object Identifier (Sub-id not found: (top) -> datasetTable) MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (FREENAS-MIB): At line 1 in (none) datasetTable: Unknown Object Identifier (Sub-id not found: (top) -> datasetTable) SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id` = '120' AND `storage_type` != 'dataset' [] 1.66ms] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'FREENAS-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'zpoolTable'] Exitcode: 1 MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (FREENAS-MIB): At line 1 in (none) zpoolTable: Unknown Object Identifier (Sub-id not found: (top) -> zpoolTable) MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (FREENAS-MIB): At line 1 in (none) zpoolTable: Unknown Object Identifier (Sub-id not found: (top) -> zpoolTable) SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id` = '120' AND `storage_type` != 'zpool' [] 2.11ms] hrStorage : SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-SNMP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'dskTable'] SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id` = '120' AND `storage_type` != 'dsk' [] 2.21ms] array ( ) SQL[SELECT * FROM `storage` WHERE `device_id` = '120' [] 1.48ms] >> Runtime for discovery module 'storage': 0.2120 seconds with 21616 bytes >> SNMP: [5/0.19s] MySQL: [4/0.07s] RRD: [0/0.00s] #### Unload disco module storage #### Modules status: Global+ OS Device #### Load disco module hr-device #### SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'hrDeviceTable'] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'hrProcessorTable'] array ( ) SQL[SELECT * FROM `hrDevice` WHERE `device_id` = '120' [] 0.99ms] >> Runtime for discovery module 'hr-device': 0.0720 seconds with 1656 bytes >> SNMP: [2/0.07s] MySQL: [1/0.01s] RRD: [0/0.00s] #### Unload disco module hr-device #### Modules status: Global+ OS Device #### Load disco module discovery-protocols #### CISCO-CDP-MIB: SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'CISCO-CDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'cdpCache'] Exitcode: 1 MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (CISCO-CDP-MIB): At line 1 in (none) cdpCache: Unknown Object Identifier (Sub-id not found: (top) -> cdpCache) MIB search path: /opt/librenms/mibs:/opt/librenms/mibs/fs Cannot find module (CISCO-CDP-MIB): At line 1 in (none) cdpCache: Unknown Object Identifier (Sub-id not found: (top) -> cdpCache) LLDP-MIB: SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'LLDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'lldpRemTable'] End of MIB SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQun' '-m' 'LLDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' '.1.0.8802.1.1.2.1.4.2.1.3'] End of MIB SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'dot1dBasePortIfIndex'] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'LLDP-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'lldpLocPortId'] End of MIB Reporting disabled by user setting OSPF Discovery: SQL[SELECT DISTINCT(`ospfNbrIpAddr`),`device_id` FROM `ospf_nbrs` WHERE `device_id`=? [120] 0.85ms] SQL[SELECT * FROM `links` AS L, `ports` AS I WHERE L.local_port_id = I.port_id AND I.device_id = ? [120] 2.61ms] SQL[DELETE T FROM `links` T LEFT JOIN `devices` ON `devices`.`device_id` = T.`local_device_id` WHERE `devices`.`device_id` IS NULL [] 2.46ms] 0 orphaned links deleted >> Runtime for discovery module 'discovery-protocols': 0.2380 seconds with 73784 bytes >> SNMP: [1/0.05s] MySQL: [3/0.06s] RRD: [0/0.00s] #### Unload disco module discovery-protocols #### Modules status: Global+ OS Device #### Load disco module arp-table #### SNMP['/usr/bin/snmpwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'IP-MIB::ipNetToPhysicalPhysAddress'] SNMP['/usr/bin/snmpwalk' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'IP-MIB::ipNetToMediaPhysAddress'] IP-MIB::ipNetToMediaPhysAddress[1][*] = 0:0:5e:0:1:33 SQL[SELECT * from `ipv4_mac` WHERE `device_id`=? AND `context_name`=? [120,""] 0.77ms] SQL[SELECT * FROM `ports` WHERE `device_id` = ? AND `ifIndex` = ? [120,1] 1.42ms] e0: 0:0:5e:0:1:33 => 192.168.2.254 SQL[DELETE T FROM `ipv4_mac` T LEFT JOIN `ports` ON `ports`.`port_id` = T.`port_id` LEFT JOIN `devices` ON `devices`.`device_id` = T.`device_id` WHERE `ports`.`port_id` IS NULL AND `devices`.`device_id` IS NULL [] 4.64ms] >> Runtime for discovery module 'arp-table': 0.0900 seconds with 15768 bytes >> SNMP: [2/0.08s] MySQL: [3/0.07s] RRD: [0/0.00s] #### Unload disco module arp-table #### Modules status: Global- OS Device Module [ discovery-arp ] disabled globally. Modules status: Global- OS Device Module [ junose-atm-vp ] disabled globally. Modules status: Global+ OS Device #### Load disco module bgp-peers #### SNMP['/usr/bin/snmpgetnext' '-v1' '-c' 'COMMUNITY' '-OQUsv' '-m' 'BGP4-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'bgpLocalAs'] "RackA1-E" No BGP on hostPeers : SQL[DELETE FROM `bgpPeers` WHERE device_id=? AND context_name=? [120,""] 0.8ms] SQL[DELETE FROM `bgpPeers_cbgp` WHERE device_id=? AND context_name=? [120,""] 0.6ms] SQL[SELECT DISTINCT context_name FROM bgpPeers WHERE device_id=? [120] 0.57ms] >> Runtime for discovery module 'bgp-peers': 0.0390 seconds with 4624 bytes >> SNMP: [1/0.03s] MySQL: [3/0.02s] RRD: [0/0.00s] #### Unload disco module bgp-peers #### Modules status: Global+ OS Device #### Load disco module vlans #### SQL[SELECT * FROM `vlans` WHERE `device_id` = ? [120] 2.51ms] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'dot1dBasePortIfIndex'] IEEE8021-Q-BRIDGE-MIB VLANs: SNMP['/usr/bin/snmpget' '-v1' '-c' 'COMMUNITY' '-Oqv' '-m' 'IEEE8021-Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'dot1qVlanVersionNumber.0'] Exitcode: 2 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: Q-BRIDGE-MIB::dot1qVlanVersionNumber.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: Q-BRIDGE-MIB::dot1qVlanVersionNumber.0 >> Runtime for discovery module 'vlans': 0.1200 seconds with 6456 bytes >> SNMP: [2/0.11s] MySQL: [1/0.03s] RRD: [0/0.00s] #### Unload disco module vlans #### Modules status: Global- OS Device Module [ vmware-vminfo ] disabled globally. Modules status: Global- OS Device Module [ libvirt-vminfo ] disabled globally. Modules status: Global- OS Device Module [ printer-supplies ] disabled globally. Modules status: Global+ OS Device #### Load disco module ucd-diskio #### SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUs' '-m' 'UCD-DISKIO-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'diskIOEntry'] array ( ) SQL[SELECT * FROM `ucd_diskio` where `device_id` = '120' [] 0.68ms] >> Runtime for discovery module 'ucd-diskio': 0.0420 seconds with 1096 bytes >> SNMP: [1/0.04s] MySQL: [1/0.01s] RRD: [0/0.00s] #### Unload disco module ucd-diskio #### Modules status: Global- OS Device Module [ applications ] disabled globally. Modules status: Global+ OS Device #### Load disco module services #### >> Runtime for discovery module 'services': 0.0000 seconds with 768 bytes >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s] #### Unload disco module services #### Modules status: Global+ OS Device #### Load disco module stp #### Instances: SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' '-v1' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' 'BRIDGE-MIB::dot1dStpProtocolSpecification.0'] Exitcode: 2 ["Error in packet\nReason: (noSuchName) There is no such variable name in this MIB.\nFailed object: BRIDGE-MIB::dot1dStpProtocolSpecification.0\n\n"] Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: BRIDGE-MIB::dot1dStpProtocolSpecification.0 SQL[select * from `stp` where `stp`.`device_id` = ? and `stp`.`device_id` is not null [120] 0.44ms] Ports: SQL[select * from `ports_stp` where `ports_stp`.`device_id` = ? and `ports_stp`.`device_id` is not null [120] 0.37ms] >> Runtime for discovery module 'stp': 0.0310 seconds with 77072 bytes >> SNMP: [1/0.03s] MySQL: [2/0.01s] RRD: [0/0.00s] #### Unload disco module stp #### Modules status: Global+ OS Device #### Load disco module ntp #### >> Runtime for discovery module 'ntp': 0.0000 seconds with 280 bytes >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s] #### Unload disco module ntp #### Modules status: Global- OS Device Module [ loadbalancers ] disabled globally. Modules status: Global- OS Device Module [ mef ] disabled globally. Modules status: Global+ OS Device #### Load disco module wireless #### SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"ap-count"] 0.52ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"clients"] 0.36ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"quality"] 0.38ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"capacity"] 0.38ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"utilization"] 0.36ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"rate"] 0.39ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"ccq"] 0.55ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"snr"] 0.91ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"sinr"] 0.41ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"rsrp"] 0.37ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"rsrq"] 0.72ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"ssr"] 0.38ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"mse"] 0.35ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"xpi"] 0.39ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"rssi"] 0.37ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"power"] 0.35ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"noise-floor"] 0.34ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"errors"] 0.39ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"error-ratio"] 0.34ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"error-rate"] 0.54ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"frequency"] 0.74ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"distance"] 0.32ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"cell"] 0.37ms] SQL[SELECT * FROM `wireless_sensors` WHERE `device_id`=? AND `sensor_class`=? [120,"channel"] 0.68ms] >> Runtime for discovery module 'wireless': 0.0200 seconds with 145352 bytes >> SNMP: [0/0.00s] MySQL: [24/0.11s] RRD: [0/0.00s] #### Unload disco module wireless #### Modules status: Global+ OS Device #### Load disco module fdb-table #### SQL[SELECT `vlan_id`, `vlan_vlan` from `vlans` WHERE `device_id` = ? [120] 0.27ms] SQL[SELECT * FROM `ports_fdb` WHERE `device_id` = ? [120] 0.28ms] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'Q-BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'dot1qTpFdbPort'] SNMP['/usr/bin/snmpwalk' '-v1' '-c' 'COMMUNITY' '-OQUsetX' '-m' 'BRIDGE-MIB' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/fs' 'udp:HOSTNAME:161' 'dot1dTpFdbPort'] >> Runtime for discovery module 'fdb-table': 0.0540 seconds with 3128 bytes >> SNMP: [0/0.00s] MySQL: [2/0.01s] RRD: [0/0.00s] #### Unload disco module fdb-table #### Modules status: Global+ OS Device #### Load disco module mpls #### >> Runtime for discovery module 'mpls': 0.0000 seconds with 37224 bytes >> SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s] #### Unload disco module mpls #### SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [3.113,120] 2.09ms] Discovered in 3.113 seconds /opt/librenms/discovery.php 192.168.2.61 2022-11-12 20:24:45 - 1 devices discovered in 3.692 secs SNMP [38/1.38s]: Snmpget[14/0.46s] Snmpwalk[23/0.89s] Snmpgetnext[1/0.03s] SQL [107/1.40s]: Select[98/1.23s] Update[4/0.04s] Delete[5/0.13s] RRD [0/0.00s]: