Files
shell_sequencer/seqs/rsyslog/10-snmp.conf
Martin Winkler 358cff38b1 New sequence to manage rsyslog config
Only client configuration for now
2019-12-12 23:51:26 +01:00

7 lines
382 B
Plaintext

#Blocking snmpd connection information
if $programname == 'snmpd' and $msg contains 'Connection from UDP: [192.168.23.21' then stop
if $programname == 'snmpd' and $msg contains 'Cannot statfs' then stop
# raspberry pi sepcific
if $programname == 'snmpd' and $msg contains 'pcilib:' then stop
if $programname == 'sudo' and re_match($msg, "Debian-snmp.*USER=root.*COMMAND") then stop