journalwatch config

This commit is contained in:
Daniel Langbein 2023-09-29 13:10:26 +02:00
parent 70a6b18c04
commit 89e923399e
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -47,6 +47,17 @@
# All regular expressions have to match the full string! # All regular expressions have to match the full string!
filterBlocks = [ filterBlocks = [
#
# _TRANSPORT
#
{ # yodaNas
filters = ''
booting system configuration /nix/store/\S+\.05pre-git
'';
match = "_TRANSPORT = kernel";
}
# #
# _EXE # _EXE
# #
@ -80,6 +91,49 @@
''; '';
match = "IMAGE_NAME = /biketripplanner/digitransit-ui:\S+/"; match = "IMAGE_NAME = /biketripplanner/digitransit-ui:\S+/";
} }
{ # yodaNas
# TODO: logged IP is not the public one, but always 172.24.0.6
filters = ''
Could not yet connect with DB\. Retrying in 10s \.\.\.
[0-9] \[>---------------------------\] [0-9] \[>---------------------------\]
# 1.1.1.1 - 28/Sep/2023:21:03:39 +0000 "GET /status.php" 200
# 1.1.1.1 - 28/Sep/2023:21:12:16 +0000 "GET /index.php" 200
# 1.1.1.1 - my-username 28/Sep/2023:21:20:16 +0000 "DELETE /index.php" 200
[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "(GET|DELETE) /(index|status)\.php" 200
# 1.1.1.1 - my-username 28/Sep/2023:21:10:18 +0000 "PROPFIND /remote\.php" 207
[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ - \S* \S+ \+0000 "(GET|HEAD|MKCOL|MOVE|PROPFIND|PUT|REPORT) /remote\.php" (200|201|204|207|401|404)
# 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 "GET /ocs/(v1|v2)\.php" (200|304)
'';
match = "IMAGE_NAME = p1st/nextcloud:stable-fpm-alpine";
}
{ # yodaNas
filters = ''
\S+ browserless:server Health check stats: CPU [0-9]+%, MEM: [0-9]+%,
\S+ browserless:server Health check stats: CPU [0-9]+%,[0-9]+% MEM: [0-9]+%,[0-9]+%
\S+ browserless:server Current period usage:.+
'';
match = "IMAGE_NAME = browserless/chrome";
}
{ # 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'
'';
match = "IMAGE_NAME = /mysql:[0-9]+/";
}
{ # yodaNas
filters = ''
crond: USER root pid [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";
}
{ # yodaNas
filters = ''
.*
'';
match = "IMAGE_NAME = /(deluan/navidrome|ghcr\.io/dgtlmoon/changedetection\.io)/";
}
# #
# _SYSTEMD_UNIT # _SYSTEMD_UNIT
@ -200,9 +254,12 @@
iwlwifi 0000:01:00\.0: Not associated and the session protection is over already... iwlwifi 0000:01:00\.0: Not associated and the session protection is over already...
iwlwifi 0000:01:00\.0: api flags index 2 larger than supported by driver iwlwifi 0000:01:00\.0: api flags index 2 larger than supported by driver
# Ignore. # Ignore.
audit: type=2000 audit([0-9]+\.[0-9]+:[0-9]+): state=initialized audit_enabled=0 res=1
ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Kernel command line: initrd=\\efi\\nixos\\\S+-initrd-linux-\S+-initrd\.efi init=/nix/store/\S+-nixos-system-\S+-[0-9]+.[0-9]+pre-git/init ip=dhcp loglevel=[0-9]
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 reseeded on system resumption
random: crng init done random: crng init done
# Ignore.
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]+ 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]-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 Protect is off
@ -210,6 +267,8 @@
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) 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)
sd [0-9]:0:0:0: \[sd[a-z]\] Attached SCSI disk sd [0-9]:0:0:0: \[sd[a-z]\] Attached SCSI disk
sd [0-9]:0:0:0: \[sd[a-z]\] Synchronizing SCSI cache sd [0-9]:0:0:0: \[sd[a-z]\] Synchronizing SCSI cache
sd [0-9]:0:0:0: \[sd[a-z]\] supports TCG Opal
\#3
# #
# YodaTab # YodaTab
# #