Nagios Logrotation removing notification on rotated files

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
jose-martins
Posts: 6
Joined: Tue Dec 18, 2012 6:48 am

Re: Nagios Logrotation removing notification on rotated file

Post by jose-martins »

Is this ok?

Code: Select all

root@*:/opt/nagios/nagios/etc# cat nagios.cfg |grep log |egrep -v "^#"
log_file=/opt/nagios/nagios/var/nagios.log
log_rotation_method=d
log_archive_path=/opt/nagios/nagios/var/archives
use_syslog=1
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_external_commands=1
log_passive_checks=1
service_perfdata_file=/var/opt/nagios/perfdata.log
root@*:/opt/nagios/nagios/etc#
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Logrotation removing notification on rotated file

Post by slansing »

Everything looks fine, how large is your installation? What version of Core are you running on, and how large is the nagios.log file currently?
Locked