mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-27 20:09:05 +02:00
* conf/pandora_server.conf.windows: Sample conf for running pandora server on Windows (see windows.README). * lib/PandoraFMS/NetworkServer.pm: Adapted to have SNMPGET and PING functions redefined by each SO, this will allow to have native support on pandora to run under different OS (need to check FreeBSD and Solaris!). Windows support implemented. * lib/PandoraFMS/Core.pm: Removed ping functions here and moved to Tools.pm * lib/PandoraFMS/Tools.pm: Adapted Ping functions to work with any SO, at this time Linux and Windows only, need to check for Solaris and BSD. * util/windows.README: Small doc on how to make Pandora Server work on Windows servers. * util/pandora_logrotate: Removed the index in the logrotation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
46 lines
776 B
Plaintext
46 lines
776 B
Plaintext
/var/log/pandora/pandora_agent.log
|
|
/var/log/pandora/pandora_server.log
|
|
/var/log/pandora/pandora_server.error {
|
|
weekly
|
|
missingok
|
|
size 128144
|
|
rotate 3
|
|
maxage 15
|
|
compress
|
|
notifempty
|
|
create 644 root root
|
|
sharedscripts
|
|
postrotate
|
|
/etc/init.d/pandora_server restart
|
|
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 {
|
|
weekly
|
|
missingok
|
|
size 500000
|
|
rotate 1
|
|
maxage 365
|
|
notifempty
|
|
create 664 root root
|
|
postrotate
|
|
rm /var/log/pandora/pandora_snmptrap.log.index 2> /dev/null
|
|
/etc/init.d/pandora_server restart
|
|
endscript
|
|
|
|
}
|