» Do it. Now.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

snippets:logcheck-ignore-cron-session-messages-in-auth.log [2019/05/26 15:04] (current)
Line 1: Line 1:
 +===== logcheck: Ignore "cron session"​ messages in /​var/​log/​auth.log =====
 +
 +<code bash>
 +root@quepasa:/​etc/​logcheck#​ hg diff . | colordiff
 +</​code>​
 +
 +<code diff>
 +diff -r 83788d1369c7 logcheck/​ignore.d.server/​cron
 +--- a/​logcheck/​ignore.d.server/​cron Fri Jan 29 02:01:18 2010 +0100
 ++++ b/​logcheck/​ignore.d.server/​cron Fri Jan 29 02:01:30 2010 +0100
 +@@ -2,3 +2,4 @@
 + ​^\w{3} [ :0-9]{11} [._[:​alnum:​]-]+ (/​usr/​bin/​)?​crontab\[[0-9]+\]:​ \([[:​alnum:​]-]+\) REPLACE \([[:​alnum:​]-]+\)$
 + ​^\w{3} [ :0-9]{11} [._[:​alnum:​]-]+ (/​usr/​bin/​)?​crontab\[[0-9]+\]:​ \([[:​alnum:​]-]+\) (BEGIN|END) EDIT \([[:​alnum:​]-]+\)$
 + ​^\w{3} [ :0-9]{11} [._[:​alnum:​]-]+ CRON\[[0-9]+\]:​ nss_ldap: reconnect(ing|ed) to LDAP server(\.\.\.| after [0-9]+ attempt\(s\))$
 ++^\w{3} [ :0-9]{11} [._[:​alnum:​]-]+ CRON\[[0-9]+\]:​ pam_unix\(cron:​session\):​ session (opened|closed) for user [._[:​alnum:​]-]+( by \(uid=[0-9]+\))?​$
 +</​code>​
 +
 +{{tag>​logcheck}}
  
snippets/logcheck-ignore-cron-session-messages-in-auth.log.txt · Last modified: 2019/05/26 15:04 (external edit)