Error in configuration file in hosts.cfg

Richard Mohr rfmohr at osc.edu
Thu Aug 16 15:42:05 CEST 2007


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


-------------------------------------------------------------------------
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