Discovery fail

Hi.
All off the sudden I’m having issues to add a new device from specific vendor.
It has worked before. It has been detected as “generic device”.
Now it seems like that discovery fails when adding new device.

When triggering discovery to device of same model and firmware that has been added before, it works just fine. When triggering discovery to new device I get error messege.
Output from discovery Untitled - LibreNMS
Any suggestions?
Also providing discovery-log below.

LibreNMS Discovery
SQL[[1;33mselect migration from migrations order by id desc limit 1 [0;33m[0m 0.49ms]

SQL[[1;33mselect count(*) as aggregate from migrations [0;33m[0m 0.36ms]

SQL[[1;33mselect version() [0;33m[0m 0.28ms]

===========================================

Component Version
LibreNMS 22.10.0-64-gce6eaadc2 (2022-11-02T22:54:40+01:00)
DB Schema 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)
PHP 8.1.11
Python 3.8.10
Database MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP 5.8
===========================================
DEBUG!
Updating os_def.cache
SQL[[1;33mSELECT * FROM devices WHERE disabled = 0 AND hostname LIKE ‘10.0.0.161’ ORDER BY device_id DESC [0;33m[0m 0.88ms]

SQL[[1;33mselect * from devices where device_id = ? limit 1 [0;33m[161][0m 0.48ms]

SQL[[1;33mselect * from devices_attribs where devices_attribs.device_id = ? and devices_attribs.device_id is not null [0;33m[161][0m 0.27ms]

10.0.0.161 161 generic [FPING] ‘/usr/bin/fping’ ‘-e’ ‘-q’ ‘-c’ ‘3’ ‘-p’ ‘500’ ‘-t’ ‘500’ ‘-O’ ‘0’ ‘10.0.0.161’

response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.34/0.46/0.54
SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘SNMPv2-MIB::sysObjectID.0’[0m]
SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.9304.100.5152

Modules status: Global+
OS
Device

Load disco module core

Attempting to initialize OS: generic
OS initialized: LibreNMS\OS\Generic
SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-On’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘SNMPv2-MIB::sysObjectID.0’ ‘SNMPv2-MIB::sysDescr.0’ ‘SNMPv2-MIB::sysName.0’[0m]
...0 = ..4.1.9304.100.5152
.
..0 = FOS-5152-2A Version 1.00.0W
.
.*.0 = Skolan_1222_1C

| FOS-5152-2A Version 1.00.0W | .1.3.6.1.4.1.9304.100.5152 |

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/arris’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.1166.1.621.14.2.0’[0m]
iso..1.1166.1.6 = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.8072.1.3.2.3.1.2.6.100.105.115.116.114.111’[0m]
iso..1.8...114.111 = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/eltek’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.12148.10.2.6.0’[0m]
iso..1.12.0 = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/hikvision’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.39165.1.1.0’[0m]
iso..1.39 = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/orvaldi’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.21111.1.1.1.6.0’[0m]
iso..1.21.6.0 = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘1.3.6.1.4.1.4515.1.3.6.1.1.1.2.0’[0m]
iso..1.45.*.0 = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/primekey’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘PRIMEKEY-APPLIANCE-MIB::pkAVersion’[0m]
PRIMEKEY-APPLIANCE-MIB::pkAVersion = No Such Object available on this agent at this OID

SNMP[[0;36m’/usr/bin/snmpget’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/wisi’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.7465.20.2.9.1.2.1.3.1.2’[0m]
iso..1.74.*.1.2 = No Such Object available on this agent at this OID

OS: Generic Device (generic)

Attempting to initialize OS: generic
OS initialized: LibreNMS\OS\Generic

Runtime for discovery module ‘core’: 0.3610 seconds with 712 bytes
[0;36mSNMP[0m: [9/0.34s] [1;33mMySQL[0m: [0/0.00s] [0;32mRRD[0m: [0/0.00s]

Unload disco module core

Modules status: Global+
OS
Device

Load disco module os

Yaml location data:
SNMP[[0;36m’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs’ ‘-r’ ‘4’ ‘udp:HOSTNAME:161’ ‘SNMPv2-MIB::sysLocation.0’[0m]
Gotafors_Skola,Vaggeryd

SQL[[1;33mselect * from locations where (location = ?) limit 1 [0;33m[“Gotafors_Skola,Vaggeryd”][0m 0.61ms]

::query() failed: DNS request failed: The domain name referenced in the query does not exist.
OpenStreetMap geocode engine

Fatal error: Declaration of App\ApiClients\NominatimApi::parseLatLng(array $data): array must be compatible with App\ApiClients\GeocodingHelper::parseLatLng($data) in /opt/librenms/app/ApiClients/NominatimApi.php on line 40
Declaration of App\ApiClients\NominatimApi::parseLatLng(array $data): array must be compatible with App\ApiClients\GeocodingHelper::parseLatLng($data) {“exception”:“[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Declaration of App\ApiClients\NominatimApi::parseLatLng(array $data): array must be compatible with App\ApiClients\GeocodingHelper::parseLatLng($data) at /opt/librenms/app/ApiClients/NominatimApi.php:40)”}

In NominatimApi.php line 40:

Declaration of App\ApiClients\NominatimApi::parseLatLng(array $data): array must be compatible with App\ApiClients\GeocodingHelper::parseLatLng($data)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.