AW: snmptrapd: Community-String not always passed to handler script

2020-06-09 Thread Markus Reusch
@lists.sourceforge.net Betreff: [Attention! Possible phishing attempt!] AW: snmptrapd: Community-String not always passed to handler script Hi Bill, thanks a lot for this solution – I tried it out and it works! ☺ Cheers Markus Von: Bill Fenner [mailto:fen...@gmail.com] Gesendet: Dienstag, 9. Juni 2020 16

AW: snmptrapd: Community-String not always passed to handler script

2020-06-09 Thread Markus Reusch
always passed to handler script Reading the 5.8 source, it looks like the "traphandle" directive accepts an undocumented "-F" argument - try traphandle -F "CommOrSecret=%u" default /appl/snmp/bin/handler.sh (Obviously you will need to play with the format to get the

Re: snmptrapd: Community-String not always passed to handler script

2020-06-09 Thread Bill Fenner
Reading the 5.8 source, it looks like the "traphandle" directive accepts an undocumented "-F" argument - try traphandle -F "CommOrSecret=%u" default /appl/snmp/bin/handler.sh (Obviously you will need to play with the format to get the other information into it too) Bill On Thu, Jun 4, 2020 a

AW: snmptrapd: Community-String not always passed to handler script

2020-06-04 Thread Markus Reusch
Hello list, sorry to bump this up. Anyone got an idea how to enforce passing the community-string to the handler script? Cheers Markus - Hello list, we wrote a handler script that relies on getting the community-string as we the script uses this

snmptrapd: Community-String not always passed to handler script

2020-05-25 Thread Markus Reusch
Hello list, we wrote a handler script that relies on getting the community-string as we the script uses this to generate an event and route it to the correct recipients. Usually for "real" traps sent by different devices, we can see the community-string in the snmptrapd.log. For test traps we s