Hi
I Issued the following command
./snmptrap -v 1 -c public 10.9.10.195 .1.3.6.1.6.3.1.1.5.3 10.9.10.195 2 0
' ' 1.3.6.1.2.1.2.2.1.1 i 1
It is giving following result for snmptrapd
2006-03-03 13:59:33 smrutiranjan.telxsi.com [10.9.10.195] (via UDP:
[10.9.10.195]
:1042) TRAP, SNMP v1, community public
iso.3.6.1.6.3.1.1.5.3 Link Down Trap (0) Uptime: 18 days, 3:18:07.61
iso.3.6.1.2.1.2.2.1.1 = INTEGER: 1
But when i run the following command mentioned in tutorials
./snmptrap -v 1 -c public 10.9.10.195 TRAP-TEST-MIB::demotraps 10.9.10.195 2
0 '' 1.3.6.1.2.1.2.2.1.1 i 1
it gives the error
Cannot find module (TRAP-TEST-MIB): At line 0 in (none)
TRAP-TEST-MIB::demotraps: Unknown Object Identifier
USAGE: snmptrap [OPTIONS] AGENT TRAP-PARAMETERS
where am i making mistake ?
Thanks in advance
Vishakha
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s)and may
contain confidential or privileged information. If you are not the intended
recipient, please notify the sender or [EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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