nagios -v minimal.cfg ???

Lori Adams ladams at cloudmark.com
Sat Nov 12 03:21:31 CET 2005


Did you notice the error message given to you?  The -v flag is very good
at letting you know what it sees as a problem.

You're using the wrong config file in your command, just like it tells
you in the error statement.  

 

-Lori

 

________________________________

From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mehmet
Fatih AKBULUT
Sent: Thursday, November 10, 2005 7:07 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] nagios -v minimal.cfg ???

 

[root at localhost nagios]# nagios -v minimal.cfg

Nagios 2.0b4
Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
Last Modified: 08-02-2005
License: GPL

Reading configuration data...

Error in configuration file '/etc/nagios/minimal.cfg' - Line 34 (NULL
value)

***> The name of the main configuration file looks suspicious...

     Make sure you are specifying the name of the MAIN configuration
file on
     the command line and not the name of another configuration file.
The
     main configuration file is typically
'/usr/local/nagios/etc/nagios.cfg'

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


lines startin from 34 :

define timeperiod{
        timeperiod_name 24x7
        alias           24 Hours A Day, 7 Days A Week
        sunday          00:00-24:00
        monday          00:00-24:00
        tuesday         00:00-24:00
        wednesday       00:00-24:00
        thursday        00:00-24:00
        friday          00:00-24:00
        saturday        00:00-24:00
        }


WHAT SHOULD I DO NOW ???

help please :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051111/93821b38/attachment.html>


More information about the Users mailing list