Nagios error logs

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.
Locked
4430salton
Posts: 9
Joined: Thu Aug 11, 2011 8:19 am

Nagios error logs

Post 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!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios error logs

Post 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
Locked