Error in configuration file '/etc/nagios/config.cfg&#03


#1

I am having this weird problem when trying to restart Nagios. The error message is as displayed on the title of this thread. It’s the same config file I have been using is all this while and now it is giving me problems.

Line 24 is this:

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
}

I don’t see any problem with it. Can anyone kindly shed some light on this?

Many thanks…


#2

Problem solved. Thanks.


#3

[html] Can you enlighten us on how you solved the problem? In case others run into the same/a similar problem? 8)