Problems with config-file, I think.

Alexander Davidsen alex at webdeal.no
Thu Jul 13 09:20:46 CEST 2006


Hi,
I have installed nagios via ports in FreeBSD, and configured it to work
with my network. But when i do nagios -v nagios.cfg i get a kind of
wired error: "Error in configuration file
'/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)"
On line 20 I have:
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
        }
If i comment out this I just get the same error on the next section.
What can be wrong? I have attached my config file.

-- 

Med vennlig hilsen 

Alexander Davidsen - Webdeal AS
Teknologiveien 22 - 2815 Gjøvik - NORWAY
E-Post: alex at webdeal.no Webside: www.webdealhosting.com 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios.cfg
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060713/c498e8c4/attachment.ksh>
-------------- next part --------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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