2009-12-28 19:20:50 +01:00
|
|
|
/var/log/pandora/pandora_agent.log
|
|
|
|
/var/log/pandora/pandora_server.log
|
2020-06-09 13:39:02 +02:00
|
|
|
/var/log/pandora/web_socket.log
|
2009-12-28 19:20:50 +01:00
|
|
|
/var/log/pandora/pandora_server.error {
|
2009-09-01 18:27:36 +02:00
|
|
|
weekly
|
|
|
|
missingok
|
2013-05-23 02:54:35 +02:00
|
|
|
size 300000
|
2009-12-28 19:20:50 +01:00
|
|
|
rotate 3
|
2013-05-23 02:54:35 +02:00
|
|
|
maxage 90
|
2009-09-01 18:27:36 +02:00
|
|
|
compress
|
|
|
|
notifempty
|
2013-05-23 02:54:35 +02:00
|
|
|
copytruncate
|
2009-09-01 18:27:36 +02:00
|
|
|
}
|
2009-12-28 19:20:50 +01:00
|
|
|
|
2013-05-23 02:54:35 +02:00
|
|
|
# DEBIAN / UBUNTU
|
2020-06-08 10:48:48 +02:00
|
|
|
/var/www/pandora_console/log/console.log {
|
2013-05-23 02:54:35 +02:00
|
|
|
weekly
|
|
|
|
missingok
|
|
|
|
size 100000
|
|
|
|
rotate 3
|
|
|
|
maxage 15
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
create 644 www-data www-data
|
|
|
|
}
|
2009-12-28 19:20:50 +01:00
|
|
|
|
2013-05-23 02:54:35 +02:00
|
|
|
# OpenSUSE, SLES
|
2020-06-08 10:48:48 +02:00
|
|
|
/srv/www/htdocs/pandora_console/log/console.log {
|
2009-12-28 19:20:50 +01:00
|
|
|
weekly
|
|
|
|
missingok
|
|
|
|
size 100000
|
|
|
|
rotate 3
|
|
|
|
maxage 15
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
create 644 wwwrun www
|
|
|
|
}
|
|
|
|
|
2013-05-23 02:54:35 +02:00
|
|
|
# Centos, Redhat, Fedora
|
2020-06-08 10:48:48 +02:00
|
|
|
/var/www/html/pandora_console/log/console.log {
|
2013-05-23 02:54:35 +02:00
|
|
|
weekly
|
|
|
|
missingok
|
|
|
|
size 100000
|
|
|
|
rotate 3
|
|
|
|
maxage 15
|
|
|
|
compress
|
|
|
|
notifempty
|
|
|
|
create 644 apache root
|
|
|
|
}
|
|
|
|
|
2009-12-28 19:20:50 +01:00
|
|
|
/var/log/pandora/pandora_snmptrap.log {
|
2022-06-21 11:16:36 +02:00
|
|
|
su pandora apache
|
2010-10-07 17:09:04 +02:00
|
|
|
weekly
|
2009-12-28 19:20:50 +01:00
|
|
|
missingok
|
2010-10-07 17:09:04 +02:00
|
|
|
size 500000
|
2009-12-28 19:20:50 +01:00
|
|
|
rotate 1
|
2013-05-23 02:54:35 +02:00
|
|
|
maxage 30
|
2009-12-28 19:20:50 +01:00
|
|
|
notifempty
|
2022-05-24 11:04:29 +02:00
|
|
|
postrotate
|
2022-06-21 11:16:36 +02:00
|
|
|
pandora_manage /etc/pandora/pandora_server.conf --start_snmptrapd > /dev/null 2>/dev/null || true
|
2022-05-24 11:04:29 +02:00
|
|
|
endscript
|
2022-06-21 11:16:36 +02:00
|
|
|
copytruncate
|
2009-12-28 19:20:50 +01:00
|
|
|
}
|