Page 2 of 2

Re: nagios.log file locations

Posted: Tue Apr 14, 2015 2:56 pm
by luniversity
Nope, not running mk livestatus. I made the changes in nagios.cfg to reflect the directories in /usr/local/nagios and restarted the service:

Code: Select all

log_archive_path=/usr/local/nagios/var/archives
log_file=/usr/local/nagios/var/nagios.log
This seems to have resolved my issue with looking at the reports I was interested in. I'm not sure anything has been getting logged. When I look at event logs under the Legacy Reports from the web interface I only show a couple dozen log entries for today and the next most recent entry is from April 2011. Obviously something changed in our environment at that time and was never caught. I'll keep an eye on the logs to make sure they are rotating properly. Thanks for all you help folks.

Re: nagios.log file locations

Posted: Tue Apr 14, 2015 3:16 pm
by lmiltchev
No problem. Do you want us to keep this topic open for a while in case you have more questions/issues?

Re: nagios.log file locations

Posted: Tue Apr 14, 2015 3:21 pm
by luniversity
No you can close it. I'm sure I'll be reaching out again on a new thread when I do the upgrade next week. Thanks so much for your time and help.