RE: traphandle does not work

2006-04-24 Thread Irving Barría
  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 be

Re: traphandle does not work

2006-04-22 Thread Alex Burger
Irving Barría wrote: I don’t know why traptoemail (neither any other Perl script) does not work! For testing, I wrote a very simple Perl program like this: #!/usr/local/bin/perl print "This is a test"; And modified my snmptrapd.conf (located at /usr/local/etc/snmp) as follows: traphandle de

traphandle does not work

2006-04-13 Thread Irving Barría
Hi all!   Thank you so much Jeff for your prompt reply, it was very useful.   Now I have this other problem: I used traphandle to call a simple program (of those that just say “Hello Worl”) called test and located at /usr, compiled using gcc. It runs perfectly from the command line but