journalwatch config

This commit is contained in:
Daniel Langbein 2023-10-04 14:04:19 +02:00
parent 4c77007256
commit 02a50c3950
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -176,7 +176,9 @@
\S+ \S+ 0 \[Note\] InnoDB: Completed initialization of buffer pool
\S+ \S+ 0 \[Note\] InnoDB: Buffered log writes \(block size=512 bytes\)
\S+ \S+ 0 \[Note\] InnoDB: End of log at LSN=\S+
\S+ \S+ 0 \[Note\] InnoDB: 128 rollback segments are active.
\S+ \S+ 0 \[Note\] InnoDB: Opened 3 undo tablespaces
\S+ \S+ 0 \[Note\] InnoDB: 128 rollback segments in 3 undo tablespaces are active\.
\S+ \S+ 0 \[Note\] InnoDB: 128 rollback segments are active\.
\S+ \S+ 0 \[Note\] InnoDB: Setting file '\./\S+' size to 12\.000MiB\. Physically writing the file full; Please wait \.\.\.
\S+ \S+ 0 \[Note\] InnoDB: File '\./\S+' size is now 12\.000MiB\.
\S+ \S+ 0 \[Note\] InnoDB: log sequence number \S+; transaction id \S+
@ -199,17 +201,23 @@
\S+ \S+ 0 \[Note\] mariadbd: Shutdown complete
\s*
'';
match = "IMAGE_NAME = /mariadb:.+/";
match = "IMAGE_NAME = /mariadb(:.+)?/";
}
{ # yodaNas
filters = ''
\S+\S+ UTC \[[0-9]\] LOG: received fast shutdown request
\S+\S+ UTC \[[0-9]\] LOG: aborting any active transactions
\S+\S+ UTC \[[0-9]\] FATAL: terminating connection due to administrator command
\S+\S+ UTC \[[0-9]\] LOG: shutting down
\S+\S+ UTC \[[0-9]\] LOG: database system is shut down
\S+\S+ UTC \[[0-9]+\] LOG: listening on IPv4 address "0\.0\.0\.0", port 5432
\S+\S+ UTC \[[0-9]+\] LOG: listening on IPv6 address "::", port 5432
\S+\S+ UTC \[[0-9]+\] LOG: listening on Unix socket "/var/run/postgresql/\.s\.PGSQL\.5432"
\S+\S+ UTC \[[0-9]+\] LOG: database system was shut down at 2023-10-03 17:21:05 UTC
\S+\S+ UTC \[[0-9]+\] LOG: database system is ready to accept connections
#
\S+\S+ UTC \[[0-9]+\] LOG: received fast shutdown request
\S+\S+ UTC \[[0-9]+\] LOG: aborting any active transactions
\S+\S+ UTC \[[0-9]+\] FATAL: terminating connection due to administrator command
\S+\S+ UTC \[[0-9]+\] LOG: shutting down
\S+\S+ UTC \[[0-9]+\] LOG: database system is shut down
'';
match = "IMAGE_NAME = postgres:11-alpine";
match = "IMAGE_NAME = postgres:.+";
}
{ # yodaNas
filters = ''
@ -263,7 +271,9 @@
filters = ''
The system will suspend now!
The system will power off now!
The system will reboot now!
System is powering down\.
System is rebooting\.
'';
match = "_SYSTEMD_UNIT = systemd-logind.service";
}
@ -343,8 +353,8 @@
}
{ # yodaYoga
filters = ''
\S+\.(service|scope): Consumed .+ CPU time, read .+ from disk, written .+ to disk.+
\S+\.(service|scope): Consumed .+ CPU time, received .+ IP traffic, sent .+ IP traffic\.
\S+\.(service|scope|slice|mount): Consumed .+ CPU time, read .+ from disk, written .+ to disk.+
\S+\.(service|scope|slice|mount): Consumed .+ CPU time, received .+ IP traffic, sent .+ IP traffic\.
#
Shutting down\.
'';
@ -359,7 +369,19 @@
{ # yodaTux, yodaTab
filters = ''
#
# YodaTux
# yodaNas
#
# Can be ignored: https://unix.stackexchange.com/a/249660/315162
watchdog: watchdog0: watchdog did not stop!
# Ignore.
\s*#[0-9]*
audit: type=2000 audit\([^(]\): state=initialized audit_enabled=0 res=1
# Ingore: Probably just copying of boot graphics (.bmp) failed. https://patchwork.kernel.org/project/linux-fbdev/patch/20180617153235.16219-3-hdegoede@redhat.com/
efifb: Ignoring BGRT: unexpected or invalid BMP data
# Probably safe to ignore.
resource sanity check: requesting \[[^\]]\], which spans more than Reserved \[[^\]]\]
#
# yodaTux
#
# Bug.
ACPI: FW issue: working around C-state latencies out of order
@ -375,8 +397,8 @@
Linux version \S+ \(nixbld@localhost\) \(gcc \(GCC\) \S+, GNU ld \(GNU Binutils\) \S+\) #1-NixOS SMP PREEMPT_DYNAMIC \S+ \S+ \S+ \S+ UTC \S+
random: crng reseeded on system resumption
random: crng init done
sd [0-9]:0:0:0: \[sd[a-z]\] [0-9]+ 512-byte logical blocks: \([0-9]+ GB/[0-9]+ (GiB|TiB)\)
sd [0-9]:0:0:0: \[sd[a-z]\] [0-9]-byte physical blocks
sd [0-9]:0:0:0: \[sd[a-z]\] [0-9]+ 512-byte logical blocks: \([0-9]+ (GB|TB)/[0-9]+ (GiB|TiB)\)
sd [0-9]:0:0:0: \[sd[a-z]\] [0-9]+-byte physical blocks
sd [0-9]:0:0:0: \[sd[a-z]\] Write Protect is off
sd [0-9]:0:0:0: \[sd[a-z]\] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd [0-9]:0:0:0: \[sd[a-z]\] Optimal transfer size [0-9]+ bytes not a multiple of preferred minimum block size ([0-9] bytes)
@ -385,7 +407,7 @@
sd [0-9]:0:0:0: \[sd[a-z]\] supports TCG Opal
\#3
#
# YodaTab
# yodaTab
#
# Ignore.
mmc0: cannot verify signal voltage switch
@ -401,7 +423,7 @@
scsi [0-9]:0:0:0: Direct-Access\s+ATA.+PQ: 0 ANSI: 5
scsi [0-9]:0:0:0: Direct-Access.+PQ: 0 ANSI: 6
thinkpad_acpi: Disabling thinkpad-acpi brightness events by default\.\.\.
VFS: Disk quotas dquot_[0-9]\.[0-9]\.[0-9]
VFS: Disk quotas dquot_[0-9]+\.[0-9]+\.[0-9]+
ata1\.00: supports DRM functions and may not be fully accessible
#
done\.