Dear Sir,

i am thankful to Mr.DAVE sir for his advice. Sir, Mr.DAVE at last i am able to send a SNMPTRAP now..sir, sorry for delay.
[ AGENT EXT SIT ON NAILS-9 ]

sir, as per your advice i studied the FAQ again and again and now
i am able to send a trap for my WMAN-IF-MIB integrated agent.for this i have written a new MIB file having a NOTIFICATION-TYPE only.and named it as"WiMAX-NOTIFICATION-TEST-MIB" copy & paste of terminal is given below.
=========================================================================================
[EMAIL PROTECTED] net-snmp-5.2]$ snmptrap -v 2c -c necops 172.29.5.102:1
950 '' WIMAX-NOTIFICATION-TEST-MIB::demonotifs \1.3.6.1.2.1.10.184.1.1.5.3.1.1 i  777

[EMAIL PROTECTED] net-snmp-5.2]$ snmptrap -v 2c -c necops 172.29.5.102:1
950 '' WIMAX-NOTIFICATION-TEST-MIB::demonotifs \1.3.6.1.2.1.10.184.1.1.5.3.1.2 i  7676

[EMAIL PROTECTED] net-snmp-5.2]$
----------------------------------------------------------------------------------------
[EMAIL PROTECTED] apps]$ ./snmptrapd -f -Le 172.29.5.102:1950
Warning: no access control information configured.
  It's unlikely this agent can serve any useful purpose in this state.
  Run "snmpconf -g basic_setup" to help you configure the snmptrapd.conf file fo
r this agent.
2005-05-02 16:31:45 NET-SNMP version 5.2 Started.
2005-05-02 20:02:39 172.29.5.102 [UDP: [172.29.5.102]:35145]:
SNMPv2-MIB::sysUpTime.0 = Timeticks: (88205049) 10 days, 5:00:50.49    SNMPv2-M
IB::snmpTrapOID.0 = OID: SNMPv2-SMI::transmission.184.25        SNMPv2-SMI::tran
smission.184.1.1.5.3.1.1 = INTEGER: 777
2005-05-02 20:19:05 172.29.5.102 [UDP: [172.29.5.102]:35147]:
SNMPv2-MIB::sysUpTime.0 = Timeticks: (88303593) 10 days, 5:17:15.93    SNMPv2-M
IB::snmpTrapOID.0 = OID: SNMPv2-SMI::transmission.184.25        SNMPv2-SMI::tran
smission.184.1.1.5.3.1.2 = INTEGER: 7676
=========================================================================================
sir, but a request many of the contents are bit technically COMPLEX where me like students are NOT able understand at a SINGLE READ.

sir, now my NEW queries are... sir, i infact studied the faq and the
online material and doubt lies here.....

sir, i studies NET-SNMP TUTORIAL -TRAPS given in the WEBSITE[ONLINE DOCUMENTATION]

sir, now i want to EXCUTE OTHER PROGRAM ON RECEPTION OF A TRAP.
say,  a SHELL SCRIPT.

1) WHERE TO PLACE THE SHELL SCRIPT PROGRAM.?

2) WHERE TO LOCATE "SNMPTRAPD.CONF" FILE FIRST?

3) HOW TO INCLUDE THE SHELL SCRIPT PROGRAM FILE NAME INSIDE THE "SNMPTRAPD.CONF"?


sir, please do kindly say me, i cannot understand that page well.

sir, my SECOND QUERY:

sir, when snmptrapd logs the traps send by snmptrap here,
it is NOT SHOWING MY MIB NAME [WMAN-IF-MIB] INSTEAD IT SHOWS THE PARENT NODE
OR THE ROOT NODE NAME....BELOW IS COPY & PASTE OF IT...
======================================================================================
2005-05-02 20:19:05 172.29.5.102 [UDP: [172.29.5.102]:35147]:
SNMPv2-MIB::sysUpTime.0 = Timeticks: (88303593) 10 days, 5:17:15.93    SNMPv2-M
IB::snmpTrapOID.0 = OID: SNMPv2-SMI::transmission.184.25        SNMPv2-SMI::tran
smission.184.1.1.5.3.1.2 = INTEGER: 7676
=====================================================================================

see here, in the received trap message, it shows "SNMPV2-SMI::transmission.184.25"

here it should actually should show me the MIB file name as "WIMAX-NOTIFICATION-TEST-MIB"

and also for "SNMPv2-SMI::transmission.184.1.1.5.3.1.2" should be as
"WMAN-IF-MIB::wmanIfBsControllerActionsResetSector"

WHY? WHAT TO DO FOR CHANGING IT?


sir, i wish to be your student always.. as it is very interesting to work with SNMP and WiMAX on your guidelines... thanks a lot for considering my requests.


with sincere thanks & love,
n.parthiban



Reply via email to