Verifying Your Configuration

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
Pr00bject
Posts: 1
Joined: Wed Oct 19, 2011 7:36 am

Verifying Your Configuration

Post by Pr00bject »

I'm trying to verify my configuration file, but my configuration file isn't at this particular location "/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg".

My question is how do I verify my configuration file at etc/nagios/objects?
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Verifying Your Configuration

Post by jsmurphy »

If you open up your nagios.cfg file you need to add /etc/nagios/objects as a valid path for Nagios config files. Under the OBJECT CONFIGURATION FILE(S) heading add the line cfg_dir=/etc/nagios/objects

try your verification again.
Locked