mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
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:
committed by
Peter Müller
parent
ce195c328e
commit
957b6f92b9
@@ -1,4 +1,3 @@
|
||||
etc/logrotate.d/zabbix_agentd
|
||||
etc/rc.d/init.d/zabbix_agentd
|
||||
etc/sudoers.d/zabbix_agentd
|
||||
etc/sudoers.d/zabbix_agentd_user
|
||||
@@ -21,4 +20,3 @@ var/ipfire/zabbix_agentd/zabbix_agentd_ipfire_mandatory.conf
|
||||
var/ipfire/zabbix_agentd/userparameters
|
||||
var/ipfire/zabbix_agentd/userparameters/userparameter_pakfire.conf
|
||||
var/ipfire/zabbix_agentd/userparameters/userparameter_ipfire.conf
|
||||
#var/log/zabbix
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
/var/log/zabbix/zabbix_agentd.log {
|
||||
monthly
|
||||
rotate 12
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
notifempty
|
||||
create 0640 zabbix zabbix
|
||||
}
|
||||
@@ -1,8 +1,7 @@
|
||||
PidFile=/var/run/zabbix/zabbix_agentd.pid
|
||||
|
||||
# Log rotation is managed by logrotate
|
||||
LogFile=/var/log/zabbix/zabbix_agentd.log
|
||||
LogFileSize=0
|
||||
# Logs go to syslog so it can be viewed in WUI logviewer
|
||||
LogType=system
|
||||
|
||||
# These paths are included in the IPFire backups. Do not put user modules
|
||||
# or configuration files in other locations if you want them included in the
|
||||
|
||||
Reference in New Issue
Block a user