how does nagios locate config path?
megamic at gmail.com
megamic at gmail.com
Fri Jul 3 07:24:49 CEST 2009
Thanks for that reply. So the init.d script tell the nagios daemon where to
find the config files and other things...what about the CGI scripts...how
do they know where to look?
On Jul 3, 2009 8:56am, Mark Gius <mgius at createspace.com> wrote:
> The main nagios configuration file is configurable in the init script.
> All other files are read based on the cfg_file and cfg_dir directives
> in that main nagios configuration file. So you can either use the
> default nagios.cfg, which then points to things in /export/nagios, or
> edit the init script to also use a nagios.cfg in /export/nagios
> -Gius
> megamic at gmail.com wrote:
> Hi
> I want to build and install Nagios under a certain path (eg /opt/local)
> but tell it to find it's configuration (nagios.cfg, cgi.cfg) elsewhere
> (eg /export/nagios). There is useful configure directive for the
> lockfile (--with-lockfile), is there something similar for
> configuration path? Ideally I don't want to install anything under
> /export/nagios as part of the installation procedure, another process
> will deploy the correct configuration there, I just want to set Nagios
> to look there when it runs.
> Cheers
> ------------------------------------------------------------------------------
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090703/af10c434/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list