2009-12-28 Sancho Lerena <slerena@artica.es>
* util/pandora_logrotate: Optimized logrotate setup. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2f195c6aa9
commit
3791bbf0bd
|
@ -1,5 +1,7 @@
|
||||||
2009-12-28 Sancho Lerena <slerena@artica.es>
|
2009-12-28 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
|
* util/pandora_logrotate: Optimized logrotate setup.
|
||||||
|
|
||||||
* pandora_server.spec: Start tentacle after install breaks the
|
* pandora_server.spec: Start tentacle after install breaks the
|
||||||
Upgrade process on RPM (error if already running).
|
Upgrade process on RPM (error if already running).
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,40 @@
|
||||||
/var/log/pandora/pandora*.log /var/log/pandora/pandora_server.error {
|
/var/log/pandora/pandora_agent.log
|
||||||
|
/var/log/pandora/pandora_server.log
|
||||||
|
/var/log/pandora/pandora_server.error {
|
||||||
weekly
|
weekly
|
||||||
missingok
|
missingok
|
||||||
size 262144
|
size 128144
|
||||||
rotate 5
|
rotate 3
|
||||||
maxage 15
|
maxage 15
|
||||||
compress
|
compress
|
||||||
notifempty
|
notifempty
|
||||||
create 640 root root
|
create 644 root root
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
for i in `ls -1 /etc/init.d/pandora_*`;do $i stop; $i start; done
|
/etc/init.d/pandora_server restart
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Only for SUSE / DEBIAN / UBUNTU
|
||||||
|
|
||||||
|
/var/www/pandora_console
|
||||||
|
/srv/www/htdocs/pandora_console/pandora_console.log {
|
||||||
|
weekly
|
||||||
|
missingok
|
||||||
|
size 100000
|
||||||
|
rotate 3
|
||||||
|
maxage 15
|
||||||
|
compress
|
||||||
|
notifempty
|
||||||
|
create 644 wwwrun www
|
||||||
|
}
|
||||||
|
|
||||||
|
/var/log/pandora/pandora_snmptrap.log {
|
||||||
|
daily
|
||||||
|
missingok
|
||||||
|
size 150000
|
||||||
|
rotate 1
|
||||||
|
maxage 7
|
||||||
|
notifempty
|
||||||
|
create 644 root root
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue