Problem with cfg_dir
Joerg Linge
pitchfork at ederdrom.de
Fri Nov 10 14:01:53 CET 2006
Am Freitag, 10. November 2006 11:43 schrieb Joerg Hartmann:
> Hello,
>
> i tried to change the location of the config files of a good working
> Nagios 2.5-Installation.
> I put a # in front of all cfg_file= parameter in nagios.cfg and
> wrote two new lines with cfg_dir=
>
> cfg_dir=/etc/nagios/Global
> cfg_dir=/etc/nagios/LiveSystem
>
> After that i moved all *.cfg files (except nagios.cfg) from /etc/nagios
> to the two new directories.
> The reason is a project to install some more nagios servers for
> distributed monitoring with one central server and some remote nagios
> machine in different locations.
>
> Unfortunatly i can not get this to work. A quick test showed:
>
> Reading configuration data...
>
> Error: Unexpected token or statement in file
> '/etc/nagios/Global/cgi.cfg' on line 15.
[...]
The cgi.cfg is no Object Config File and should not be placed inside cfg_dir.
Jörg
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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