Unable to add more than 2 linux host Nagios Core

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
NNC
Posts: 14
Joined: Thu Oct 25, 2012 8:51 am

Unable to add more than 2 linux host Nagios Core

Post by NNC »

Hi Team,


I am new in Nagios, I have installed Nagios on RHEL 5.4, Minimum configuration,

I am trying to add 2nd Linux host, bt unable to add it,

I had copied localhost.cfg (linux) as a 2nd-linux.cfg file from

cp /usr/local/nagios/etc/objects/localhost.cfg /usr/local/nagios/etc/objects/2nd-linux.cfg

also edited nagios.cfg file, added 2nd-linux.cfg info in nagios.cdf file,

after restarting nagios,

getting error,

Configuration error, check your configuration file.

please team i need a help.
GaWd
Posts: 51
Joined: Wed Dec 15, 2010 1:45 pm

Re: Unable to add more than 2 linux host Nagios Core

Post by GaWd »

Please run a verification on your config...

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Unable to add more than 2 linux host Nagios Core

Post by slansing »

As GaWd said, once you run that it will point you in the right direction, can you post the output back here as well?
Locked