From f1a93e128d77d8db4fc3e78836b12cf7660840be Mon Sep 17 00:00:00 2001 From: Mohmmad ismail <mi@flyingcircus.io> Date: Wed, 28 Oct 2020 09:08:57 +0100 Subject: [PATCH 1/2] Ignore postfix critical messages from journal log --- nixos-journal.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos-journal.yaml b/nixos-journal.yaml index 269da2c..967f3b4 100644 --- a/nixos-journal.yaml +++ b/nixos-journal.yaml @@ -88,6 +88,7 @@ criticalexceptions: - 'php-fpm\[\d+\]: .*convert: insufficient image data in file' - 'postfix/error\[\d+\]: .*: to=.* status=deferred \(delivery temporarily suspended: TLS is required, but was not offered by host' - 'postfix/smtp\[\d+\]:.+Host or domain name not found. Name service error for name=.+' + - 'postfix/smtpd\[\d+\]: SSL_accept error from unknown.*: .*' - 'postgres\[.*\]: user=.*,db=.* ERROR:.+duplicate key value violates unique constraint' - 'postgresql-start\[\d+\]: user=.* ERROR:.*relation .tmp_functest. does not exist' - 'postgresql-start\[\d+\]: user=.* WARNING: there is no transaction in progress' @@ -242,6 +243,7 @@ warningexceptions: - 'postgres\[.*\]: user=.* LOG:.* duration: .* ms' - 'postgres\[.*\]: user=.* STATEMENT:.*' - 'postgres\[.*\]: user=.*,db=.* WARNING:.*there is no transaction in progress' + - 'postfix/smtpd\[\d+\]: warning: TLS library problem: error:.*:SSL routines:.*:unknown protocol:.*:' - 'postgres\[\d+\]: .* ERROR: could not serialize access due to concurrent update' - 'proftpd.*crypt\(3\) 11: Invalid argument' - 'proftpd\[\d+\].*crypt\(3\) failed' -- GitLab From f8b90a6d45141927bd66e5532e9ed066781c99d1 Mon Sep 17 00:00:00 2001 From: Mohmmad ismail <mi@flyingcircus.io> Date: Thu, 29 Oct 2020 10:55:09 +0100 Subject: [PATCH 2/2] re-sort to the right place (alphabetically) --- nixos-journal.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-journal.yaml b/nixos-journal.yaml index 967f3b4..07f8763 100644 --- a/nixos-journal.yaml +++ b/nixos-journal.yaml @@ -240,10 +240,10 @@ warningexceptions: - 'postfix/smtpd\[\d+\]: warning: No server certs available. TLS won.t be enabled' - 'postfix/smtpd\[\d+\]: warning: unknown\[.*\]: SASL LOGIN authentication failed' - 'postfix/smtpd\[.+\]: warning: hostname .* does not resolve to address' + - 'postfix/smtpd\[\d+\]: warning: TLS library problem: error:.*:SSL routines:.*:unknown protocol:.*:' - 'postgres\[.*\]: user=.* LOG:.* duration: .* ms' - 'postgres\[.*\]: user=.* STATEMENT:.*' - 'postgres\[.*\]: user=.*,db=.* WARNING:.*there is no transaction in progress' - - 'postfix/smtpd\[\d+\]: warning: TLS library problem: error:.*:SSL routines:.*:unknown protocol:.*:' - 'postgres\[\d+\]: .* ERROR: could not serialize access due to concurrent update' - 'proftpd.*crypt\(3\) 11: Invalid argument' - 'proftpd\[\d+\].*crypt\(3\) failed' -- GitLab