Re: 5.4 traphandle not working. Working in 5.3.1...

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/12/06, Daniel Lacey <[email protected]> wrote:
>  traphandle  SNMPv2-SMI::enterprises.30303 /usr/bin/Mail -s traphandle_30303
> [email protected]
>  forward default localhost:1162
>
>  snmptrapd options:
>  -f -Le -p /var/run/snmptrapd.pid -d -Dread_config,snmptrapd -c
> /usr/local/share/snmp/snmptrapd.conf ....

This config file will be read in by default automatically.
By specifying it explicitly, snmptrapd will actually read it in
*twice*, which is why you see two copies of the forwarded trap.

Either omit this "-c ...." option, or use "-C -c ..."


>  snmptrapd seems to parse this file but only sends the "forward".

What trap are you sending?
I haven't ploughed through the full debug output,
but it seems to be processing T7000-TRAP-MIB::t7000AlarmOutputEnabled
What is the OID of this trap?

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.