Add Zabbix Agent to logviewer

- Configure Zabbix Agent to log to syslog instead of its own logs.
- Remove old zabbix log-dir and logrotate settings from rootfile, lfs
  and install-script.
- Update log.dat to view Zabbix Agent logging from syslog.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
This commit is contained in:
Robin Roevens
2023-04-18 20:45:12 +02:00
committed by Peter Müller
parent ce195c328e
commit 957b6f92b9
6 changed files with 7 additions and 28 deletions

View File

@@ -78,7 +78,8 @@ my %sections = (
'ssh' => '(sshd(?:\(.*\))?\[.*\]: )',
'unbound' => '(unbound: \[.*?\])(.*:.*$)',
'urlfilter bl' => '(installpackage\[urlfilter\]: )',
'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:)'
'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:)',
'zabbix_agentd' => '(zabbix_agentd\[.*?\]: )'
);
# Translations for the %sections array.
@@ -112,7 +113,8 @@ my %trsections = (
'ssh' => 'SSH',
'unbound' => 'DNS: Unbound',
'urlfilter bl' => 'URLFilter Blacklist',
'wireless' => 'Wireless'
'wireless' => 'Wireless',
'zabbix_agentd' => 'Zabbix Agent'
);