Hinzufügen allg. Anleitungen/Doku
This commit is contained in:
parent
695b562d8d
commit
2773eba151
Binary file not shown.
|
@ -0,0 +1,71 @@
|
|||
|
||||
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
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
Loading…
Reference in New Issue