Extending snmpd agent with a private enterprise MIB
Hello list,
I have a task of incorporating a private enterprise MIB into our Debian
Woody system. My goal is to have an updated set of snmp*4.2.3-2.custom.deb
files so I can move these changes out to our production hardware. I have
been reading extensively on the net-snmp site on how to make this extension
to the code and on the Debian site on how to manage customizing a Debian
source package.
I have the usd-snmp_4.2.3-2 source tree from the "apt-get source snmp"
command. I have my ENTERPRISE-MIB.txt compiled using mib2c giving me the
.h and .c files and I have made needed edits to these two files. I use dch
to update the debian/changelog file and then I use dpkg-buildpackage to
build my custom snmp packages.
All of this seems to work except that when I use "snmpget myserver public
lruPassFail.0" it looks like my MIB is not installed.
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB
I have this MIB successfully included in a net-snmp 5.0.7 source tar
package, but I want to use the stable Woody version and the Debian
packaging system for managing my changes.
Any help or suggestions is greatly appreciated,
Bill
Reply to: