Re: Interfacing Net-SNMP with Pi running Ubuntu 21.04

Wes Hardaker via Net-snmp-coders <[email protected]> Mon, 18 Oct 2021 10:29:40 -0700
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Andrew Mwakibinga <[email protected]> writes:

>                I have been having difficulty getting custom MIB OIDs to show up, when I
> perform SNMPGET/SET/WALK commands.

If (and only if) I understand you problem, you need to put the MIB file
into a place where snmpget/set/walk can find and read it.  And then set
your MIBS environment variable to be correct to.  So putting it in
/usr/local/share/snmp/mibs was the right first start, but you also need
to set the MIBS environment variable to be "+PERSONAL-MIB" or whatever
you called it (note you need the leading +)
-- 
Wes Hardaker
Please mail all replies to [email protected]