-
-
Save andresvia/b08d42505774274b9367 to your computer and use it in GitHub Desktop.
Defaults for sec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
polgara:~# cat /etc/default/sec | |
#Defaults for sec | |
RUN_DAEMON="yes" | |
DAEMON_ARGS="-conf=/etc/sec.conf -input=/var/log/syslog -pid=/var/run/sec.pid -detach -log=/var/log/sec.log" | |
polgara:~# cat /etc/sec.conf | |
# http://simple-evcorr.sourceforge.net/man.html | |
# http://sixshooter.v6.thrupoint.net/SEC-examples/article.html | |
# http://sixshooter.v6.thrupoint.net/SEC-examples/article-part2.html | |
type=SingleWithSuppress | |
ptype=RegExp | |
pattern=(?i)kernel.*btrfs: (?!disk space caching is enabled|use ssd allocation|use .* compression|unlinked .* orphans|turning on discard|device label .* devid .* transid|detected SSD devices, enabling SSD mode|has skinny extents|device label|creating UUID tree|checking UUID tree|setting .* feature flag|bdev.* flush 0, corrupt 0, gen 0) | |
window=60 | |
desc=Btrfs unexpected log | |
action=pipe '%t: $0' /usr/bin/mail -s "sec: %s" root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment