Nconf andNagios

kastro Abbasi
kastro Abbasi used Ask the Experts™
I have configured Nagios and Nconf .They are working fine.
But once i add some host from nconf it generated successfuly without any error,but i could not see any change in Nagios.I have checked all the basic troubleshooting.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
nociSoftware Engineer
Distinguished Expert 2018

Is nagios restarted? otherwise it doesn't pickup the changes.
kastro AbbasiIT consultant


ofcourse i have checked after restarting and also checked after deleting all the host from nagios nagios.conf and then created by nconf.But there is  no positive result.So please tell me what isthe issue.  
Software Engineer
Distinguished Expert 2018
In general:

nagios load files based on its configuration. Starting (mostly) in /etc/nagios/nagios.conf
(there is an include statement for the various files)

Do those included files get updated by nconf, if not then nconf might generate the files in a different place if it generates the files.

Where does nconf generate the nagios files? is it the correct place (see previous question)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial