Created
June 26, 2013 10:57
-
-
Save mkay/5866568 to your computer and use it in GitHub Desktop.
colour scheme for monitoring dovecot via mail.log, using grc (http://kassiopeia.juls.savba.sk/~garabik/software/grc/)
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
# dovecot mail.log conf for grc | |
# install: save as /usr/share/grc/conf.dovecot | |
# usage: grc -c conf.dovecot tail -f /var/log/mail.log | |
regexp=(?<=<)(.*)(?=>) | |
colours=green | |
count=more | |
====== | |
regexp=imap-login: Login | |
colours=yellow | |
count=more | |
====== | |
regexp=pop3-login: Login | |
colours=yellow | |
count=more | |
====== | |
regexp=^... .. ..:..:.. | |
colours=cyan | |
count=more | |
====== | |
regexp=: | |
colours=white | |
count=more | |
====== | |
regexp=auth failed | |
colours=red | |
count=more | |
====== | |
regexp=error | |
colours=red | |
count=more | |
====== | |
regexp=TLS | |
colours=magenta | |
count=more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment