Error in configuration file in hosts.cfg

Rodrigo Tavares digolinopage at yahoo.com.br
Thu Aug 16 16:43:50 CEST 2007


Hello Richard,

Now, I run the command with nagios.cfg, then th I have
to create escalations.cfg, then i created the servers
dile, but come this error:

Error: Could not open config directory
'/usr/local/nagios/etc/servers' for reading.

I gave 777 for the file, and changed file's user for
nagios, both without success.

Can I resolve this trouble ?

Best regards,

Rodrigo Faria 



--- Richard Mohr <rfmohr at osc.edu> escreveu:

> On Thu, 2007-08-16 at 08:32 -0300, Rodrigo Tavares
> wrote:
> 
> > When I run the command :
> > 
> > ./bin/nagios -v /usr/local/nagios/etc/hosts.cfg
> > 
> > Come this merror messenger:
> > 
> > Error in configuration file
> > '/usr/local/nagios/etc/hosts.cfg' - Line 3 (NULL
> > value)
> 
> I believe the problem is that you are trying to
> verify just the
> hosts.cfg file.  When using the -v option, you need
> to pass it the name
> of the main nagios config file (typically
> nagios.cfg).
> 
> -- 
> Rick Mohr
> Systems Developer
> Ohio Supercomputer Center
> 
> 



      Flickr agora em português. Você clica, todo mundo vê.
http://www.flickr.com.br/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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