AW: Error in configuration file (NULL value)

Thomas.Zimmer at oppenheim.de Thomas.Zimmer at oppenheim.de
Fri Mar 3 17:32:35 CET 2006


You did not really mean "/etc/nagios/nagios.cfg" ?
I assume, you do not have timeperiods defined there, right?

By the way Nmagios 1.2 is really old, there are a l lot more features in
newer versions...

Greetz, Thomas.

-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Stephen
Carville
Gesendet: Freitag, 3. März 2006 17:24
An: Nagios Users
Betreff: [Nagios-users] Error in configuration file (NULL value)


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


-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
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