RE: traphandle does not work

Irving Barría <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAneQWd/tqlUySDCusEjR56sKAAAAQAAAApyjClwC8PUqM4n3/[email protected]>
 
Thank you Alex!
 
I had done the same thing (writing to a file) in C but it did not work
until I wrote the following in my snmptrapd.conf:
 
traphandle “default” /usr/local/bin/test
 
Note the quotation marks around the word default. It seems that I was
lucky when I found it out because I couldn’t find it documented
anywhere.
I hope that it helps someone else.
 
Regards, IB
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.