Subject: Error in configuration file '/tmp/n' - Line 75 (NULL value)

Marc Powell marc at ena.com
Fri Aug 13 16:22:18 CEST 2004


----Original Message----
From: Nagios list [mailto:nagios-users at uit.co.uk]
Sent: Friday, August 13, 2004 6:30 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Subject: Error in configuration file '/tmp/n' -
Line 75 (NULL value) 

> If I include a
> 	define timeperiod{
> 	...
> in the main config file, I get the error
> 	Error in configuration file '/tmp/n' - Line 75 (NULL value)
(Line 75
> is where the timeperiod definition is.) 
> 
> However, if I have the same definition, but in a separate
> timeperiods.cfg file, there's no problem. 
> 
> Nagios version is 1.2, on Linux Woody.
> 
> (I don't know if the error occurs with other than 'timeperiod' -- it
> looks like not, but I haven't narrowed it down.) 
> 
> I'm writing a Nagios tutorial and want to have a single, tiny,
> example config file, but this prevents it, which makes things much
> more difficult for newbies.  
> 
> Is it a known problem?  Is there a fix?

If you're trying to include the timeperiod definition in nagios.cfg you
can't do that. Only config files defined with the cfg_file directive in
nagios.cfg will work.

--
Marc



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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