From 058733c986cc72d3a673a0af4f08f921051fd1d1 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 3 Oct 2023 19:18:28 +0200 Subject: [PATCH] journalwatch config --- modules/journalwatch.nix | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index f527cfc..4c65ae0 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -165,6 +165,28 @@ } { # yodaNas filters = '' + \S+ \S+ 0 \[Note\] Starting MariaDB \S+ source revision \S+ as process 1 + \S+ \S+ 0 \[Note\] InnoDB: Compressed tables use zlib \S+ + \S+ \S+ 0 \[Note\] InnoDB: Number of transaction pools: 1 + \S+ \S+ 0 \[Note\] InnoDB: Using crc32 \+ pclmulqdq instructions + \S+ \S+ 0 \[Note\] InnoDB: Using liburing + \S+ \S+ 0 \[Note\] InnoDB: Initializing buffer pool, total size = 1\.000GiB, chunk size = 16\.000MiB + \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: 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+ + \S+ \S+ 0 \[Note\] InnoDB: Loading buffer pool\(s\) from /var/lib/mysql/ib_buffer_pool + \S+ \S+ 0 \[Note\] InnoDB: Read redo log up to LSN=\S+ + \S+ \S+ 0 \[Note\] InnoDB: Buffer pool\(s\) load completed at \S+ \S+ + \S+ \S+ 0 \[Note\] Plugin 'FEEDBACK' is disabled\. + \S+ \S+ 0 \[Note\] Server socket created on IP: '0.0.0.0'\. + \S+ \S+ 0 \[Note\] Server socket created on IP: '::'\. + \S+ \S+ 0 \[Note\] mariadbd: ready for connections\. + Version: '\S+' socket: '/run/mysqld/mysqld.sock' port: \S+ mariadb\.org binary distribution + # \S+ \S+ 0 \[Note\] mariadbd \(initiated by: unknown\): Normal shutdown \S+ \S+ 0 \[Note\] InnoDB: FTS optimize thread exiting\. \S+ \S+ 0 \[Note\] InnoDB: Starting shutdown\.\.\. @@ -175,7 +197,7 @@ \S+ \S+ 0 \[Note\] mariadbd: Shutdown complete \s* ''; - match = "IMAGE_NAME = mariadb:latest"; + match = "IMAGE_NAME = /mariadb:.+/"; } { # yodaNas filters = '' @@ -195,6 +217,7 @@ } { # yodaNas filters = '' + crond: crond \(busybox \S+\) started, log level [0-9]+ crond: USER root pid\s+[0-9]+ cmd wget -qO- http://money\.p1st\.de:8080/api/v1/cron/\S+ > /proc/1/fd/1 2>/proc/1/fd/2 ''; match = "IMAGE_NAME = busybox";