Error in configuration file (NULL value)

Stephen Carville stephen at totalflood.com
Fri Mar 3 17:23:39 CET 2006


I've recently decdied to give nagios a try (been using Big Brother and 
Cricket for past several years) and right away I come up against a 
problem I cannot solve by just RT'ing the FM.  When I do a configuration 
cehck (-v) using nagios v1.2 a Fedora Core 3 server I get the following 
error:

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

Line 33 and subsequent:

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
         }

which, as far as I can tell, is perfectly legitimate!

-- 
Stephen Carville <stephen at totalflood.com>
Unix and Network Admin
Nationwide Totalflood
6033 W. Century Blvd
Los Angeles, CA 90045
310-342-3602


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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