Re: shell traphandler from stdin

2007-10-15 Thread Wes Hardaker
> "AV" == Alef Veld <[EMAIL PROTECTED]> writes: AV> Hi, AV> i'm testing out traphandlers, and i setup this little shell thing. AV> #!/bin/bash AV> echo $* AV> this is what is called in snmptrapd.conf AV> However, it doesn't 'popup' on my terminal and it doesn't log AV> anything to file whe

Re: shell traphandler from stdin

2007-10-14 Thread Dave Shield
On 13/10/2007, Alef Veld <[EMAIL PROTECTED]> wrote: > i'm testing out traphandlers > However, it doesn't 'popup' on my terminal and it doesn't log > anything to file when i add a > tofile.txt. Which version of the code are you using? Do you have any access control settings in your snmptrapd.co

Re: shell traphandler from stdin

2007-10-13 Thread Alef Veld
Correct. On Oct 13, 2007, at 8:23 PM, Alex Burger wrote: > Alef Veld wrote: >> Hi, >> i'm testing out traphandlers, and i setup this little shell thing. >> #!/bin/bash >> echo $* >> this is what is called in snmptrapd.conf >> However, it doesn't 'popup' on my terminal and it doesn't log >> any

Re: shell traphandler from stdin

2007-10-13 Thread Alex Burger
Alef Veld wrote: > Hi, > i'm testing out traphandlers, and i setup this little shell thing. > #!/bin/bash > echo $* > > this is what is called in snmptrapd.conf > > However, it doesn't 'popup' on my terminal and it doesn't log > anything to file when i add a > tofile.txt. When you say you trie

shell traphandler from stdin

2007-10-13 Thread Alef Veld
Hi, i'm testing out traphandlers, and i setup this little shell thing. #!/bin/bash echo $* this is what is called in snmptrapd.conf However, it doesn't 'popup' on my terminal and it doesn't log anything to file when i add a > tofile.txt. The script works fine on it's own. i send traps with s