Hi all,
I want to send a snmp trap by snmptrap and shown the device name in
snmptt.log ,for example
Wed Mar 19 15:18:39 2014 .1.3.6.1.4.1.3607.6.10.30.0.220 Critical "CISCO"
CISCO-13000 - .1.3.6.1.4.1.3607.6.10.30.0.220 CISCO-13000 Carrier Loss On
The LAN in testFAC-1-2 (majorServiceAffecting),ifIndex=16386
But when I use snmptrap to send a trap ,it's shown the sender ip as follow ,
Wed Mar 19 15:18:39 2014 .1.3.6.1.4.1.3607.6.10.30.0.220 Critical " CISCO "
10.28.63.12 - .1.3607.6.10.30.0.220 10.28.63.12 Carrier Loss On The LAN in
testFAC-1-2 (majorServiceAffecting),ifIndex=16386
Send trap cmd :
snmptrap -v 1 -c public host .1.3.6.1.4.1.3607.6.10.30 CISCO-13000 6 220 15
\
.1.3.6.1.4.1.3607.6.10.100.10.20.1 s "20080227205807S" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.80.4103.220 s "90" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.20.4103.220 s "670" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.60.4103.220 s "16386" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.30.4103.220 s "4" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.40.4103.220 s "10" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.50.4103.220 s "0" \
.1.3.6.1.4.1.3607.6.10.20.30.20.1.100.4103.220 s "testFAC-1-2"
Can anyone tell me how to do ?
Andrew
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
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