configuration file error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ericsson_att
Posts: 23
Joined: Mon Nov 01, 2010 11:07 am

configuration file error

Post by ericsson_att »

How do I resolve the following config file error?
Is there a workaround to carete these missing config files?
contacttemplates.cfg
contacts.cfg....

[root@ltenav1 etc]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 3.2.2
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-01-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: configuration file error

Post by mguthrie »

I'm seeing this as being related to the install issues from your other thread. I was starting to run a test install today on CentOS 5.5, and I ran into several of the same error messages as you did. I haven't pinned down the issue yet, but we'll let you know as soon as I find it.
ericsson_att
Posts: 23
Joined: Mon Nov 01, 2010 11:07 am

Re: configuration file error

Post by ericsson_att »

I would appreciate a quick turn around solution for this, if possible. Thank you for your post though.
ericsson_att
Posts: 23
Joined: Mon Nov 01, 2010 11:07 am

Re: configuration file error

Post by ericsson_att »

Our team could somehow made Nagios XI work (by creating postgres db by running ./B script changing permissions and owner as desired and by creating all cfg files necessary that are missing manually and by editing with the required info). Not sure if that would suffice, but then, nothing works in the config tab on the right pane, all others seem to be working fine. This is of great concern at this time.

Shall wait for your fix though.
Locked