snmptrapd 5.3.1 & traphandle

"Ivan V. Borodin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello there!

I tried net-snmp-5.3.1 on RedHat Enterprize Linux 4 running on Intel
Xeon 64-bit CPU.

It builds and starts OK. I have some 'traphandle' directives in my
snmptrapd.conf but they don't work at all - snmptrapd only sends
RESPONSE on every trap receieved.

Then I build 5.2.3. It runs traphandle script mentioned in
snmptrapd.conf and also sends RESPONSE on every trap. I think it
shouldn't send it if it runs traphandle, or I'm wrong? On my another
installation of the same snmptrapd.conf and handler-script (on FreeBSD
5.4) it doesn't send it.

Here is the snmptrapd.conf for 5.3.1:
============
# snmptrapd.conf

authCommunity   log,execute,net SNMP_trap
authCommunity   log,execute,net public

#doNotLogTraps yes

format1         Trap from %B
format2         Trap from %B

traphandle      "default"        /home/ivan/scripts/snmptrap-handler.pl default
traphandle      IF-MIB::linkDown /home/ivan/scripts/snmptrap-handler.pl link
traphandle      IF-MIB::linkUp   /home/ivan/scripts/snmptrap-handler.pl link
===========




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