Interfacing Net-SNMP with Pi running Ubuntu 21.04
Andrew Mwakibinga <[email protected]> Thu, 14 Oct 2021 14:30:29 +0000
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <DM6PR08MB583495433514EBBEB6F2F7B8DDB89@DM6PR08MB5834.namprd08.prod.outlook.com> |
PROPRIETARY
Greetings,
I have been having difficulty getting custom MIB OIDs to show up, when I perform SNMPGET/SET/WALK commands. I have modified the snmpd.conf file to have the line "rocommunity public localhost" in case this a permissions issue. I have my created MIB located in /usr/local/share/snmp/mibs and my .c/.h files in /agent/mibgroup/personal-mib/. The configure line I used was ./configure -with-mib-modules="personal-mib/personal" -disable-embedded-perl -without-perl-modules. I have been able to compile and run the same .c/.h files on a Centos OS & I was able to see my custom OIDs. Any advice would be appreciated, thanks for your time.
Andrew Mwakibinga
Software Engineer
[cid:[email protected]]
Envistacom, LLC
C: 845.392.8856
[email protected]<mailto:[email protected]>
www.envistacom.com<https://www.envistacom.com/>
--- CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system.
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
image001.png
(image/png, 14 KB) - not displayed