I was following instruction on net-snmp website to add my own MIB support
to the master agent:
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module
Here is what I did:
1. I created my support .c and .h file in net-snmp/agent/mibgroup/
folder.
2. I copied my MIB file to /usr/local/share/snmp/mibs/ folder.
3. I ran "./configure --with-mib-modules="myMib" "
4. I ran "make" and "make install"
5. I started snmpd with "snmpd -f -Le -d -c snmpd.conf &"
6. I can see my MIB structure by running snmpdtranslte command. However,
when I try to use snmpget -v2c -c public "MY-MIB-FILE::myVariable", I keep
getting "*** = No such object available on this agent at this OID".
I did exactly what the tutorial says and I can ran snmpget and snmpset on
the NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject example.
Please help me understand what did I miss here.
Thanks!
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders