2009/4/30 Tanisha Kashyap <[email protected]>
> rwcommunity   private

You really ought to change (or remove) this - it's not safe.

> trapsink  localhost public
> trap2sink  localhost public
> informsink  localhost public

You only need *one* of these - not all three.
This setup will give you three copies of each trap!

But neither of those are germane to this particular problem.


> 3) starting the agent /usr/sfw/sbin/snmpd -D abc.so

Errr.... no.   That doesn't look right.

Try starting the agent using

    /usr/sfw/sbin/snmpd -f -Le -d


> 4) snmpget -v 1 -c public -m "MY-ABC-MIB" 127.0.0.1 MY-ABC-MIB::abc.0

You don't need both "-m MY-ABC-MIB" *and* "MY-ABS-MIB::"
Use one or the other.  Preferably

   snmpget -v 1 -c public 127.0.0.1 MY-ABC-MIB::abc.0


> 5) o/p:  No response: timeout

I actually asked for any output from the *agent*
(not the snmpget command),  including anything
recorded in logfiles.

  If you use the command given above to start the agent,
then this will display all output to the command line,
thus making it easier to see.

Try that, and tell us what the agent prints out.


> I am able to run snmpset successfully.

What about other GET requests?
Can you see the rest of the MIB tree?

Dave

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to