public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Bernhard Bitsch <bbitsch@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] log.dat: Add NUT entry for System Logs - Fixes bug#12921
Date: Mon, 19 Sep 2022 15:21:09 +0200	[thread overview]
Message-ID: <1833ad47-ffcb-8ea7-1009-c61a166821df@ipfire.org> (raw)
In-Reply-To: <20220919131518.2779-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]

Reviewed-by: Bernhard Bitsch <bbitsch(a)ipfire.org>

Am 19.09.2022 um 15:15 schrieb Adolf Belka:
> - Also aligned all the code entries in %sections and %trsections
> 
> Suggested-by: Michael <ip.fire(a)die-fritzens.de>
> Tested-by: Michael <ip.fire(a)die-fritzens.de>
> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
> ---
>   html/cgi-bin/logs.cgi/log.dat | 14 ++++++++------
>   1 file changed, 8 insertions(+), 6 deletions(-)
> 
> diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
> index 20f61d4ea..5fb1fcd5d 100644
> --- a/html/cgi-bin/logs.cgi/log.dat
> +++ b/html/cgi-bin/logs.cgi/log.dat
> @@ -50,7 +50,7 @@ $cgiparams{'SECTION'} = 'ipfire';
>   
>   my %sections = (
>           'auth' => '(\w+\(pam_unix\)\[.*\]: )',
> -		'wio' => '(wio:|wio\[.*\])',
> +        'wio' => '(wio:|wio\[.*\])',
>           'captive' => '(Captive:)',
>           'clamav' => '(clamd\[.*\]: |freshclam\[.*\]: )',
>           'collectd' => '(collectd\[.*\]: )',
> @@ -65,11 +65,12 @@ my %sections = (
>           'kernel' => '(kernel: (?!DROP_))',
>           'monit' => '(monit\[.*?\]: )',
>           'ntp' => '(ntpd(?:ate)?\[.*\]: )',
> -	'oinkmaster' => '(oinkmaster\[.*\]: )',
> +        'nut' => '(upsmon\[.*?\]: )',
> +        'oinkmaster' => '(oinkmaster\[.*\]: )',
>           'openvpn' => '(openvpnserver\[.*\]: |.*n2n\[.*\]: )',
>           'pakfire' => '(pakfire:)',
>           'red' => '(red:|pppd\[.*\]: |chat\[.*\]|pppoe\[.*\]|pptp\[.*\]|pppoa\[.*\]|pppoa3\[.*\]|pppoeci\[.*\]|ipppd|ipppd\[.*\]|kernel: ippp\d|kernel: isdn.*|ibod\[.*\]|dhcpcd\[.*\]|modem_run\[.*\])',
> -	'samba' => '(nmbd|smbd|winbind)\[\d+\]:',
> +        'samba' => '(nmbd|smbd|winbind)\[\d+\]:',
>           'suricata' => '(suricata: )',
>           'squid' => '(squid\[.*\]: |squid: )',
>           'ssh' => '(sshd(?:\(.*\))?\[.*\]: )',
> @@ -81,7 +82,7 @@ my %sections = (
>   # Translations for the %sections array.
>   my %trsections = (
>           'auth' => "$Lang::tr{'loginlogout'}",
> -		'wio' => 'Who Is Online?',
> +        'wio' => 'Who Is Online?',
>           'captive' => $Lang::tr{'Captive'},
>           'clamav' => 'ClamAV',
>           'collectd' => 'Collectd',
> @@ -96,11 +97,12 @@ my %trsections = (
>           'kernel' => "$Lang::tr{'kernel'}",
>           'monit' => 'Monit',
>           'ntp' => 'NTP',
> -	'oinkmaster' => 'Oinkmaster',
> +        'nut' => 'NUT',
> +        'oinkmaster' => 'Oinkmaster',
>           'openvpn' => 'OpenVPN',
>           'pakfire' => 'Pakfire',
>           'red' => 'RED',
> -	'samba' => $Lang::tr{'samba'},
> +        'samba' => $Lang::tr{'samba'},
>           'suricata' => "$Lang::tr{'intrusion detection'}",
>           'squid' => "$Lang::tr{'web proxy'}",
>           'ssh' => 'SSH',

      reply	other threads:[~2022-09-19 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19 13:15 Adolf Belka
2022-09-19 13:21 ` Bernhard Bitsch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1833ad47-ffcb-8ea7-1009-c61a166821df@ipfire.org \
    --to=bbitsch@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox