Error in configuration file (NULL value)
Marc Powell
marc at ena.com
Fri Mar 3 18:31:09 CET 2006
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Stephen Carville
> Sent: Friday, March 03, 2006 10:24 AM
> To: Nagios Users
> Subject: [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!
Not for nagios.cfg. The only directives that go in nagios.cfg are liste
here --
http://nagios.sourceforge.net/docs/1_0/configmain.html
The default nagios.cfg should only need minor modifications and no
additions.
The directives above are only valid in Object Configuration Files (files
defined as cfg_file in nagios.cfg).
--
Marc
-------------------------------------------------------
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