From: Ami Tabak <[EMAIL PROTECTED]>
To: net-snmp-users@lists.sourceforge.net
Subject: problems running the tutorial examples
Date: Sat, 11 Jun 2005 22:57:39 +0300

hi
Am trying to run the examples from the Dynamic Module Creation for the net-snmp agent tutorial. The tutorial was tried on both Redhat enterprise 3 & Redhat FC2 (net-snmp 5.1). Due to missing snmp.conf & snmpd.conf customized for those examples I tried to customize the config files following the other tutorials. Its a MESS :-( When I run the commands from user space nothing worked. Switching to root space and hacking the system's snmpd.conf improved things a bit but the
get and set commands still didn't work as expected in the tutorial.

for example the command
/snmptranslate -Td -OS NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject - gave the expected result
but the get command
snmpget -v1 -c public localhost NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject - returned:


Are you not supposed to give the oid in snmpget as NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0 ??


regards
Chin

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject

/On the other hand when I opened the trace flags on my snmp.conf the commands I run did provide a lot of warning statements on mibs provided by net-snmp installation. !?

Can any one provide the configuration files needed to support the tutorial?

As I saw different behavior when running the commands from root space or user space please specify the path to the provided config files & the space the commands were run from (root / user)

Thanks
ami-t





_________________________________________________________________
Test Your Memory and Win Amazing Prizes! http://adfarm.mediaplex.com/ad/ck/4686-26272-10936-429?ck=BrainTeaser DVD Players, Digicams & more!



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to