Patch 'log.dat' to show 'monit' messages in system logs

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Matthias Fischer
2021-08-15 09:05:49 +02:00
committed by Peter Müller
parent e8c75ca765
commit 0b2aa5173d

View File

@@ -62,6 +62,7 @@ my %sections = (
'ipfire' => '(ipfire: )',
'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',
'kernel' => '(kernel: (?!DROP_))',
'monit' => '(monit\[.*\]: )',
'ntp' => '(ntpd(?:ate)?\[.*\]: )',
'oinkmaster' => '(oinkmaster\[.*\]: )',
'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
@@ -91,6 +92,7 @@ my %trsections = (
'ipfire' => 'IPFire',
'ipsec' => 'IPSec',
'kernel' => "$Lang::tr{'kernel'}",
'monit' => 'Monit',
'ntp' => 'NTP',
'oinkmaster' => 'Oinkmaster',
'openvpn' => 'OpenVPN',