From 07f4d2d55344b098cb84affd23b3c3f2fdf84e46 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 16 Oct 2023 14:37:59 +0200 Subject: [PATCH] journalwatch config --- modules/journalwatch.nix | 53 ++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 15 deletions(-) diff --git a/modules/journalwatch.nix b/modules/journalwatch.nix index 1564832..6ad154a 100644 --- a/modules/journalwatch.nix +++ b/modules/journalwatch.nix @@ -131,6 +131,8 @@ \S+ \S+ \[notice\] [0-9]+#[0-9]+: signal 17 \(SIGCHLD\) received from [0-9]+ \S+ \S+ \[notice\] [0-9]+#[0-9]+: worker process [0-9]+ exited with code 0 # + \S+ \S+ \[notice\] [0-9]+#[0-9]+: signal 29 \(SIGIO\) received + # \S+ \S+ \[notice\] [0-9]+#[0-9]+: signal 1 \(SIGHUP\) received, reconfiguring \S+ \S+ \[notice\] [0-9]+#[0-9]+: reconfiguring \S+ \S+ \[notice\] [0-9]+#[0-9]+: using the "epoll" event method @@ -166,7 +168,7 @@ # 1.1.1.1 - my-username 28/Sep/2023:21:11:48 +0000 "GET /ocs/v2.php" 304 # 1.1.1.1 - 28/Sep/2023:21:13:10 +0000 "GET /ocs/v2.php" 304 [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "(DELETE|GET|HEAD|PATCH|POST|PROPFIND|PUT) /(index|status)\.php" (200|204|302|303|304|401|403|404|405|412|500) - [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "(DELETE|GET|HEAD|MKCOL|MOVE|OPTIONS|POST|PROPFIND|PUT|REPORT|SEARCH) /remote\.php" (200|201|204|207|401|404|405|423|500|501) + [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "(DELETE|GET|HEAD|MKCOL|MOVE|OPTIONS|POST|PROPFIND|PUT|REPORT|SEARCH) /remote\.php" (200|201|204|207|400|401|404|405|423|500|501) [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "(DELETE|GET|POST|PUT) /ocs/(v1|v2)\.php" (200|202|204|304|401|403|404|500) [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "GET /(ocm|ocs)-provider/index\.php" 200 [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "PROPFIND /public\.php" (201|207|401|404) @@ -213,23 +215,32 @@ } { # yodaNas filters = '' - \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:\s+listening on IPv4 address "0\.0\.0\.0", port 5432 + \S+ \S+ UTC \[[0-9]+\] LOG:\s+listening on IPv6 address "::", port 5432 + \S+ \S+ UTC \[[0-9]+\] LOG:\s+listening on Unix socket "/var/run/postgresql/\.s\.PGSQL\.5432" + \S+ \S+ UTC \[[0-9]+\] LOG:\s+database system was shut down at \S+ \S+ UTC + \S+ \S+ UTC \[[0-9]+\] LOG:\s+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 + \S+ \S+ UTC \[[0-9]+\] LOG:\s+received fast shutdown request + \S+ \S+ UTC \[[0-9]+\] LOG:\s+aborting any active transactions + \S+ \S+ UTC \[[0-9]+\] FATAL:\s+terminating connection due to administrator command + \S+ \S+ UTC \[[0-9]+\] LOG:\s+shutting down + \S+ \S+ UTC \[[0-9]+\] LOG:\s+database system is shut down ''; match = "IMAGE_NAME = postgres:.+"; } { # yodaNas filters = '' - \S+ [0-9]+ \[Warning\] \[MY-013360\] \[Server\] Plugin mysql_native_password reported: '''mysql_native_password' is deprecated and will be removed in a future release\. Please use caching_sha2_password instead' + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[Server\] MySQL Server - start\. + \S+ [0-9]+ \[Warning\] \[MY-[0-9]+\] \[Server\] Plugin mysql_native_password reported: '''mysql_native_password' is deprecated and will be removed in a future release\. Please use caching_sha2_password instead' + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[Server\] /usr/sbin/mysqld \(mysqld \S+\) starting as process 1 + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[InnoDB\] InnoDB initialization has started\. + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[InnoDB\] InnoDB initialization has ended\. + \S+ [0-9]+ \[Warning\] \[MY-[0-9]+\] \[Server\] CA certificate ca\.pem is self signed\. + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[Server\] Channel mysql_main configured to support TLS\. Encrypted connections are now supported for this channel\.\. + \S+ [0-9]+ \[Warning\] \[MY-[0-9]+\] \[Server\] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users\. Consider choosing a different directory\.\. + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[Server\] X Plugin ready for connections\. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx\.sock + \S+ [0-9]+ \[System\] \[MY-[0-9]+\] \[Server\] /usr/sbin/mysqld: ready for connections\. Version: '\S+' socket: '/var/run/mysqld/mysqld\.sock' port: 3306 MySQL Community Server - GPL\. ''; match = "IMAGE_NAME = /mysql:[0-9]+/"; } @@ -243,12 +254,19 @@ { # yodaNas filters = '' \[\S+ \S+ \S+ \S+ \S+\] \[mpm_prefork:notice\] \[pid 1\] AH00170: caught SIGWINCH, shutting down gracefully + > Illuminate\Foundation\ComposerScripts::postAutoloadDump + wait-for-it\.sh: waiting 60 seconds for \S+:3306 + wait-for-it\.sh: \S+:3306 is available after [0-9]+ seconds ''; match = "IMAGE_NAME = fireflyiii/core:latest"; } { # yodaNas filters = '' - \[\S+ \S+ \S+ \S+ \S+\] \[mpm_prefork:notice\] \[pid 1\] AH00170: caught SIGWINCH, shutting down gracefully + AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using \S+\. Set the 'ServerName' directive globally to suppress this message + \[\S+ \S+ \S+ \S+ \S+\] \[mpm_prefork:notice\] \[pid 1\] AH[0-9]+: Apache/\S+ (Debian) configured -- resuming normal operations + \[\S+ \S+ \S+ \S+ \S+\] \[core:notice\] \[pid 1\] AH[0-9]+: Command line: 'apache2 -D FOREGROUND' + # + \[\S+ \S+ \S+ \S+ \S+\] \[mpm_prefork:notice\] \[pid 1\] AH[0-9]+: caught SIGWINCH, shutting down gracefully ''; match = "IMAGE_NAME = fireflyiii/data-importer:latest"; } @@ -384,11 +402,16 @@ watchdog: watchdog0: watchdog did not stop! # Ignore. \s*#[0-9]* - audit: type=2000 audit\([^(]\): state=initialized audit_enabled=0 res=1 + 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 \[[^\]]\] + # Not sure about this. + i915 0000:00:02\.0: \[drm\] \[ENCODER:.*\] is disabled/in DSI mode with an ungated DDI clock, gate it + # Not sure about this. Probably BIOS related. + # https://wiki.archlinux.org/title/improving_performance#Enabling_PCI_resizable_BAR + caller pmc_core_probe\+\S+ \[intel_pmc_core\] mapping multiple BARs # # yodaTux # @@ -406,7 +429,7 @@ 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|TB)/[0-9]+ (GiB|TiB)\) + sd [0-9]:0:0:0: \[sd[a-z]\] [0-9]+ 512-byte logical blocks: \(\S+ (GB|TB)/\S+ (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