traphandler does not work

Holger Krämer <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello again

I'm trying to use snmptrapd on Debian-Linux. The Linux-system should 
catch traps from my cisco 3600, what works fine. I see incoming traps in 
my log-file using the command

snmptrapd -L f /var/log/snmptrap.log -C -c /etc/snmp/snmptrapd.conf -On

cool, so far...
In my snmptrapd.conf there is only one line:

traphandle default  echo \"Arrived\" >> /tmp/trap.log

that does not work! My first thought was, there might be something wrong 
with the Quotationmarks, but using a command like:

touch /tmp/somefile.txt

shows no reaction either. All folders and files are writable to anyone- 
I gave the chmod 777 for testing. I have the bad feeling, snmptrapd 
simply ignores my conf-file.
Any Idias?





-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.