i cant get snmp os detection on a APC pdu.
Any help would be great.
Model Number
AP7998B powernet452.mib
librenms@teslibrenms-virtual-machine:~$ ./discovery.php -h xx.xx.xx.xx -v -d
LibreNMS Discovery
SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.26ms]
SQL[select count(*) as aggregate from `migrations` [] 0.23ms]
SQL[select version() [] 0.28ms]
===========================================
Component | Version
--------- | -------
LibreNMS | 24.11.0-66-g47a9e2b7d (2024-12-06T09:17:16+00:00)
DB Schema | 2024_10_20_154356_create_qos_table (310)
PHP | 8.3.13
Python | 3.10.12
Database | MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1
RRDTool | 1.7.2
SNMP | 5.9.1
===========================================
DEBUG!
LibreNMS config cache cleared and config reloaded.
SQL[select `config_name`, `config_value` from `config` [] 0.39ms]
SQL[select * from `graph_types` [] 0.21ms]
SQL[SELECT * FROM `devices` WHERE disabled = 0 AND `hostname` LIKE '2607:f2b1:f1d0:a80::202' ORDER BY device_id DESC [] 0.46ms]
2607:f2b1:f1d0:a80::202 273 generic SQL[select * from `devices` where `device_id` = ? limit 1 [273] 0.33ms]
SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [273] 0.23ms]
[FPING] '/usr/bin/fping6' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' '-O' '0' '2607:f2b1:f1d0:a80::202'
response: 2607:f2b1:f1d0:a80::202 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 0.317/0.465/0.728
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'H57-ER8' '-OQXUte' '-Pu' 'udp6:[2607:f2b1:f1d0:a80::202]:161' 'SNMPv2-MIB::sysObjectID.0']
SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.318
Modules status: Global+
OS
Device
#### Load disco module core ####
Attempting to initialize OS: generic
OS initialized: LibreNMS\OS\Generic
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs' '-m' 'SNMPv2-TC:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:NET-SNMP-VACM-MIB' '-v2c' '-c' 'H57-ER8' '-OQXUte' '-Pu' '-On' 'udp6:[2607:f2b1:f1d0:a80::202]: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.318
.1.3.6.1.2.1.1.1.0 = APC SNMP Agent
.1.3.6.1.2.1.1.5.0 = apc796E5F