AW: Error in configuration file (NULL value)

Stephen Carville stephen at totalflood.com
Fri Mar 3 20:51:37 CET 2006


Thomas.Zimmer at oppenheim.de wrote:
> You did not really mean "/etc/nagios/nagios.cfg" ?

Yes I did.  The main configuration file is named 'nagios.cfg' isn't it? 
  /etc/nagios is where FC3 puts the config files.

> I assume, you do not have timeperiods defined there, right?

I didn't create the file, it came that way with FC 3. I'm just trying t 
get nagios started so I can determine if it can replace and enhance what 
I already have.

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

I know it an older version but it what was already installed.  I hope is 
enough to give me an idea of what nagios can do.  If it works out and I 
decide to migrate, I'll upgrade to the latest version.

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