traphandle question

jaskaran singh <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Esteemed folks wondering if you can help

I am receiving a trap on the community string defined "stalker". My 
snmptrapd.conf file somehow can't pick up the smtpInputActive trap, only 
the default trap is called. Once i comment out the default handler, 
nothing is done at all. I am checking all of this , as my 
hangle-CGATE-trap script, writes to a file the incoming $1 value. What 
am i doing wrong?

2006-06-21 16:19:31 xxx.xxx.xxx.xxx(via UDP: [xxx.xxx.xxx.xxx]:1611) 
TRAP, SNMP v1, community stalker
       CGatePro-MIB::CommuniGatePro Enterprise Specific Trap (1) Uptime: 
8 days, 0:43:15.00
       SNMPv2-MIB::sysName.0 = STRING: xxx.xxxx.xxx     
CGatePro-MIB::smtpInputActive.0 = INTEGER: 1

traphandle default /usr/local/nagios/libexec/handle-CGATE-trap 10
traphandle CGatePro-MIB::smtpInputActive.0  
/usr/local/nagios/libexec/handle-CGATE-trap 1

thanks
Newbie

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.