journalwatch config

This commit is contained in:
Daniel Langbein 2025-02-05 10:24:30 +01:00
parent f755d3a711
commit 07b830e92f
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -452,7 +452,9 @@ in
#
\S+ \S+ UTC \[[0-9]+\] LOG:\s+checkpoint starting: shutdown immediate
\S+ \S+ UTC \[[0-9]+\] LOG:\s+checkpoint complete: .*
# background worker "logical replication launcher" (PID 28) exited with exit code 1 -> See https://postgrespro.com/list/thread-id/2498034
#
# See https://postgrespro.com/list/thread-id/2498034
\S+ \S+ UTC \[[0-9]+\] LOG:\s+background worker "logical replication launcher" \(PID [0-9]+\) exited with exit code 1
'';
match = "IMAGE_NAME = /postgres:.+/";
}
@ -650,6 +652,8 @@ in
filters = ''
\S+\.(service|scope|slice|swap|mount): Consumed ([0-9]+d )?([0-9]+h )?([0-9]+min )?[0-9\.]+(s|ms) CPU time(, .+)?\.
#
Reload requested from client PID [0-9]+ \('\.switch-to-conf'\) \(unit session-[0-9]+\.scope\)\.\.\.
#
Starting \S+\.service\.\.\.
\S+\.service: Scheduled restart job, restart counter is at 1\.
Finished \S+\.service\.
@ -696,9 +700,9 @@ in
(\S+ )+was skipped because of an unmet condition check \([^)]+\)\.
File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
#
# TODO bug
smtpd-key\.service: Found left-over process [0-9]+ \(smtpd-key-pre-s\) in control group while starting unit\. Ignoring\.
smtpd-key\.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies\.
# TODO colmena secret files bug when switching NixOS system profile
(smtpd-key|netcup-dns-[0-9]+.json-key)\.service: Found left-over process [0-9]+ \((smtpd-key-pre-s|netcup-dns-[0-9]+)\) in control group while starting unit\. Ignoring\.
(smtpd-key|netcup-dns-[0-9]+.json-key)\.service: This usually indicates unclean termination of a previous run, or service implementation deficiencies\.
'';
match = "_SYSTEMD_UNIT = init.scope";
}
@ -731,7 +735,7 @@ in
Queued start job for default target Main User Target\.
pam_unix\(systemd-user:session\): session opened for user root\(uid=0\) by \(uid=0\)
pam_unix\(systemd-user:session\): session closed for user (root|yoda)
Reexecuting requested from client PID [0-9]+ \('systemctl'\)\.\.\.
Reexecuting requested from client PID [0-9]+ \('(systemctl|switch-to-confi)'\)\.\.\.
Reexecuting\.
Run (\S+ )+was skipped because of an unmet condition check \([^)]+\)\.
'';