Configs/Anleitungen/Speicher Systempartition

72 lines
1.1 KiB
Plaintext
Executable File

Beschreibung : Der Zabbix-Server hat nur noch 4% freien Festplattenspeicher
____________________________________________________________________
Änderungen (vom 18.04.2017 10:45 Uhr auf 10.0.16.86/zabbix):
anpassen der Logeinstellungen:
Configuration
/etc/logrotate.conf - The daemon's configuration file.
/etc/logrotate.d - This directory contains all log rotate settings and directives.
/etc/logrotate.conf
# rotate log files weekly
#weekly
daily
/etc/logrotate.d/portage
/var/log/portage/*.log {
su portage portage
createolddir 755 portage portage
rotate 1
weekly
nocreate
missingok
ifempty
olddir /var/log/portage/old
maxage 365
compress
}
/etc/logrotate.d/snmptt
/var/log/snmptt/*.log {
su snmptt snmptt
createolddir 755 snmptt snmptt
rotate 1
weekly
nocreate
missingok
ifempty
olddir /var/log/snmptt/old
maxage 365
compress
}
/etc/logrotate.d/zabbix
/var/log/zabbix/*.log {
su zabbix zabbix
createolddir 755 zabbix zabbix
rotate 1
weekly
nocreate
missingok
ifempty
olddir /var/log/zabbix/old
maxage 365
compress
}