Problem with Configuration

Everything else...
Locked
apperrault

Problem with Configuration

Post by apperrault » Thu May 28, 2009 19:13

Hi everyone,
I am a total Newbie to Nagios, and a relative newbie to Linux. I am trying to get nConf setup to assist in generating my Nagios config files. I got NConf setup properly, and i can add devices, but for some reason, when i go to generate config it gives me an error. it says Error accessing or executing Nagios binary. Now based on my newbieness, there is a possibility that i have set an incorrect path somewhere, but how do i figure out what the correct path is. When it says Nagios binaries, what exactly is it looking for. I can do a sudo find / | grep nagios |more and it will return a long list of Nagios files, but i don't know which path this application wants.

Any assistance would be GREATLY appreciated.

Thanks much

aaron

User avatar
agargiulo
NConf developer
NConf developer
Posts: 725
Joined: Fri Mar 06, 2009 17:50
Location: Zurich, Switzerland
Contact:

Re: Problem with Configuration

Post by agargiulo » Fri May 29, 2009 10:08

Your Nagios binary is the executable that is run when you start the Nagios daemon.
You can either have a look at your start/stop script '/etc/rc.d/init.d/nagios' (if there is one), or you can run a search for binaries called 'nagios':

$> updatedb
$> locate nagios|grep bin

The file is usually located somewhere under '/usr/bin/' or similar. Once you found it you can test it by executing it on the command line:
$> /usr/bin/nagios
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
[...]

Locked