Unknown Object Identifier (Sub-id not found: (top) Error in Procera / Active Logic Device

Good morning,

I’m using LibreNMS 25.1.0.and I am currently adding new OIDs (from the PACKETLOGIC-MIB) to a Procera device.

I put the OID in the includes/definitions/discovery/procera.yaml file but when I run the discovery (php discovery.php -d -v -m sensors -h XX), I got the following error:

Load disco module sensors

Caching data: os sensors SNMP[‘/usr/bin/snmpbulkwalk’ ‘-v2c’ ‘-c’ ‘XXXX’ ‘-OteQUsa’ ‘-Ih’ ‘-m’ ‘PACKETLOGIC-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/procera’ ‘udp:XXX.XXX.XXX.XXX:161’ ‘channelStatisticsRxBytes’]
Exitcode: 1
channelStatisticsRxBytes: Unknown Object Identifier (Sub-id not found: (top) → channelStatisticsRxBytes)

Note; I get results from the device when I query directly using the OID (instead of the name)

Can you please help with the troubleshooting?

Thank you.

BR
Bruno Sousa

channelStatisticsRxBytes doesn’t exist in the PACKETLOGIC-MIB. At least not the version included with LibreNMS

Thank you for the comment.

I didn’t realize that.

It seems the PACKETLOGIC-MIB LibreNMS has is not the most actual one.

What is the best way to import the new one? Just “copy+paste” to the dir and overwrite it?

Thank you.

BR
Bruno Sousa

Yup, just overwrite the MIB with a more recent version.