Hello,
this is my snmptrapd.conf file :

   traphandle .1.3.6.1.4.1.17962.5.1 /bin/touch /reussi
   traphandle .1.3.6.1.4.1.17962 /bin/touch /zdn
   traphandle default /bin/touch /rater


this is my log file :

2005-05-04 18:18:07 NET-SNMP version 5.2.1 Started.
2005-05-04 18:18:08 mercedes.zandan-2003.com [172.168.1.44] (via UDP: 
[172.168.1.154]:1314) TRAP, SNMP v1, community public
        SNMPv2-SMI::enterprises.17962 Enterprise Specific Trap (1) Uptime: 
0:00:00.00
        SNMPv2-SMI::enterprises.17962.5.1 = STRING: "172.168.1.154"     
SNMPv2-SMI::enterprises.17962.5.0 = STRING: "Inserer Alive"
...

My problem :
If I have the line traphandle .1.3.6.1.4.1.17962 /bin/touch /zdn
the file '/zdn' is make,
if i comment it, the file '/rater' is make by default,
But in the log the OID is ...17962.5.1, and when i receive 
this I want to do something.
Do you understand where is my problem ?
Can i catch my specific number of the trap .1.3.6.1.4.1.17962 ?
Thanks 


Nicolas .Schubhan
@ zandan.com


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