Friday, May 24, 2019

Juniper system syslog file match help

I'm trying to create a syslog rule on a Juniper EX switch that will log anything that starts with SNMP_TRAP to a file called traps. For some reason it's just not working. I've tried several variations but here is the latest:

file traps {

match "^SNMP_TRAP.+";

Can someone tell me why this wouldn't work? I've looked at the docs and also tested this expression on a site to verify it does match the string.

Thanks for the help!



No comments:

Post a Comment