pandorafms/pandora_server/util/pandora_logrotate

59 lines
963 B
Plaintext

/var/log/pandora/pandora_agent.log
/var/log/pandora/pandora_server.log
/var/log/pandora/pandora_server.error {
weekly
missingok
size 300000
rotate 3
maxage 90
compress
notifempty
copytruncate
}
# DEBIAN / UBUNTU
/var/www/pandora_console/pandora_console.log {
weekly
missingok
size 100000
rotate 3
maxage 15
compress
notifempty
create 644 www-data www-data
}
# OpenSUSE, SLES
/srv/www/htdocs/pandora_console/pandora_console.log {
weekly
missingok
size 100000
rotate 3
maxage 15
compress
notifempty
create 644 wwwrun www
}
# Centos, Redhat, Fedora
/var/www/html/pandora_console/pandora_console.log {
weekly
missingok
size 100000
rotate 3
maxage 15
compress
notifempty
create 644 apache root
}
/var/log/pandora/pandora_snmptrap.log {
weekly
missingok
size 500000
rotate 1
maxage 30
notifempty
copytruncate
}