AW: Error in configuration file (NULL value)
Jim Perrin
jperrin at gmail.com
Fri Mar 3 21:36:37 CET 2006
> Yes I did. The main configuration file is named 'nagios.cfg' isn't it?
> /etc/nagios is where FC3 puts the config files.
>
You may want to look at nagios 2.0, and you may want to look at some
documentation that I've done up specifically for the rpm users of
nagios. It's located here ->
http://www.cognitive-dissonance.org/journal/2006/02/23/configuring-nagios-on-centos-and-rhel/
and while it's not technically for fc3, it should be distro generic
enough to work for you.
> > 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?cmdlnk&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
>
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775
-------------------------------------------------------
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