When you compiled the agent did you add --with-mib-modules='examples/ucdDemoPublic examples/example' to your configure command? This is necessary to compile the code for the example modules.

Regards,
Mack


Liat Appel wrote:

Hi,
I'm trying to write a net-snmp MIB module using the example found in net-snmp.org.
When I try to get the object value by issuing the cmd
snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0
I get the following error:
NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0: Unknown object identifier
What am I missing?
Thanks,
Liat.




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to