I've installed the Windows binaries for NET-SNMP version 5.6.1.1 on my
Windows 7 workstation.

I registered the snmptrapd service and was able to run the service from
the command line (output is being logged to c:\usr\log\traptest.txt).

 

Now I'm trying to test that snmptrapd is receiving traps.  To do this
I've followed the examples posted on Net-SNMP tutorial page
(http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html ).
I even created the TRAP-TEST-MIB definition.

 

snmptrap -v 1 -c public localhost TRAP-TEST-MIB::demotraps localhost 6
17 '' SNMPv2-MIB::sysLocation.0 s "Just here"

 

AND

 

snmptrap -v 1 -c public 127.0.0.1 TRAP-TEST-MIB::demotraps 127.0.0.1  6
17 '' SNMPv2-MIB::sysLocation.0 s "Just here"

 

AND

 

snmptrap -v 1 -c public [ACTUAL IPV4 ADDRESS] TRAP-TEST-MIB::demotraps
[ACTUAL IPV4 ADDRESS] 6 17 '' SNMPv2-MIB::sysLocation.0 s "Just here"

 

When I run the command I receive no errors and not output in snmptrapd
log file.

 

Can anyone help me figure out what I'm doing wrong?

 

 

Regards,

 

Tim

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
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