Why is this OS detected as generic?

When running discovery through web gui of librenms i collected following:

Updating os_def.cache
SQL[SELECT * FROM devices WHERE disabled = 0 AND hostname LIKE ‘’ ORDER BY device_id DESC 1.59ms] 42 generic SQL[select * from devices where device_id = ? limit 1 [42] 1.06ms]

SQL[select * from devices_attribs where devices_attribs.device_id = ? and devices_attribs.device_id is not null [42] 0.34ms]

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

response: xmt/rcv/%loss = 3/3/0%, min/avg/max = 3.75/5.34/8.19
SNMP[‘/usr/bin/snmpget’ ‘-M’ ‘/home/librenms/mibs’ ‘-m’ ‘SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘udp:HOSTNAME:161’ ‘SNMPv2-MIB::sysObjectID.0’]
SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.6527

Modules status: Global+

Load disco module core

Attempting to initialize OS: generic
OS initialized: LibreNMS\OS\Generic
SNMP[‘/usr/bin/snmpget’ ‘-M’ ‘/home/librenms/mibs’ ‘-m’ ‘SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQXUte’ ‘-On’ ‘udp:HOSTNAME:161’ ‘SNMPv2-MIB::sysObjectID.0’ ‘SNMPv2-MIB::sysDescr.0’ ‘SNMPv2-MIB::sysName.0’]
...0 = .*.4.1.6527

When i compare this to ‘includes/definitions/timos.yaml’ i can see that enterprise id is matching e.g. 6527

Whats the reason for librenms to go for generic?

can you post the full output of the discovery with debug enabled.

its to big to paste here. i captured it in a txt file but its not allowed to upload. I shared it here

Can you get the output of the following:

/usr/bin/snmpget -M /home/librenms/mibs -m SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB -v2c -c COMMUNITY -OQXUte -On udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0 SNMPv2-MIB::sysDescr.0 SNMPv2-MIB::sysName.0

Replace COMMUNITY and HOSTNAME with the relevant details.

. = .
. = TiMOS-B-14.2.private both/ppc Nokia 7710 ISAM Copyright (c) 2000-2020 Nokia.
All rights reserved. All use subject to applicable license agreements.
Built on Build on Thu May 28 16:19:55 IST 2020 by bmc in /repo/ef/nante/sw/vobs/dsl/IPD/main

. = kbga1-dist-olt-01

Thanks for helping out

Oddly this is because the response from TiMOS is normally . so the regex is expecting a . after the 6527.

The definition needs updating and tests generating, do you think you could do that?

Are you familiar with Nokia OLT? They have two OS and one of them is Timos but somewhat limited compared to say 7750 SR. Could be the reason but still, it should be detected.

Unfortunatly my knowledge is limited but i’m willing to learn and help in any way i can.

I’m not I’m afraid.

the output from your tests suggest this is a TiMOS OS based device so I think it should updated. If you can do this then edit the yaml file includes/definitions/timos.yaml. Remove the trailing . from the line with 6527 on it.

Then follow: Test Units - LibreNMS Docs

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