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.

Hello,

I updated the MIB and channelStatisticsRxBytes exist now in the PACKETLOGIC-MIB I have in LibreNMS.

The error persists though.

Note that when I query the device using the numeric OID instead of the name ( in this case the numeric OID is 1.3.6.1.4.1.15397.2.1.181.3) the device responds and gives a value for it.

Any suggestion for the troubleshooting?

Thank you.

BR
Bruno Sousa

You’ll need to post the debug output of discovery/polling.

Hi laf,

It was a problem with the cache.

Somehow it was not assuming the new MIB that I put in the system, but when I cleaned the cache, it worked.

Now it is working! Case closed!

Thank you.

BR
Bruno Sousa

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