Page 1 of 1

Nagios error logs

Posted: Thu Sep 08, 2011 9:28 pm
by 4430salton
Hello Nagios Experts,

I am new to nagios and made some corrections and now nagios will not restart. It was working and I just got email notifications working and now this, good thing i like troubleshooting ;) .

Where can one find the error log files that can help me troubleshoot where I went wrong, Thanks!

Re: Nagios error logs

Posted: Sat Sep 10, 2011 10:30 am
by mguthrie
There's a command to run a verification check on your config files. On a source install it looks like:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
For other installs /path/to/nagiosbinary -v /pathto/nagios.cfg