On Mon, 2005-05-02 at 16:34, Parthiban Naliiamudali wrote:
> 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.?

Doesn't matter - put it wherever you like.

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

If you compiled this from source, probably
   /usr/local/etc/snmptrapd.conf

If you're using a pre-compiled version, probably
   /etc/snmp/snmpd.conf

Try running "snmptrapd -Dread_config -f -Le"
and see where it's looking.

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

    traphandle  THETRAPOID  /path/to/shell/script




> 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....

The "snmptrapd" daemon hasn't loaded your WMAN-IF-MIB file.
Try starting it using

    snmptrapd -m +WMAN-IF-MIB:WIMAX-NOTIFICATION-TEST-MIB .....

Dave



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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