Missing Server.cfg file

Giles Coochey gcoochey at sapphire.gi
Tue Dec 4 12:49:37 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of David Francis
> Sent: 04 December 2007 12:32
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] Missing Server.cfg file
> 
> Greetings all
> 
> I don't know what changed but I've noticed that I don't have a
> server.cfg file , and recieve the following error trying to start
Nagios
> 
> 
> 
> Reading configuration data...
> 
> Error: Could not open config directory '/usr/local/nagios/etc/servers'
> for reading.
> 
> ***> 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.
> 
> 
> Is it possible to get this file from somewhere or do I have to go
> through the whole process of install Nagios again (hopefully not)
> 

Hi David,

You will need to write the file, that is the method of configuring
Nagios.

You may start by editing the appropriate Nagios.cfg file and tweaking a
small configuration first.

>From the error it looks like it's looking for a servers directory rather
than a fiel though.

Hope this helps.

Giles

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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