Page 1 of 1

"No Check Time Period Defined"

Posted: Mon Oct 17, 2011 3:01 pm
by ecarrasq
System Info
Linux Distribution and version?

*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:14:03 EDT 2011
CentOS release 5.7 (Final)

32 or 64bit?

32 bit

VMware Image or Manual Install of XI?

VMware Image

Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?

No.

ISSUE

When I add hosts using both the Linux and Windows Monitoring Wizard, the "Check period" is not defined when I look at the service using "Nagios Core Config Manager":

Re: "No Check Time Period Defined"

Posted: Mon Oct 17, 2011 3:18 pm
by agriffin
Are you getting any kind of error about this or are you just curious why this is happening? The check time period is defined in the service template, and inherits the setting from it. You can see which templates are applied to a service at the bottom of the "Common Settings" tab in the Core Config Manager.

Re: "No Check Time Period Defined"

Posted: Mon Oct 17, 2011 6:07 pm
by ecarrasq
I'm getting 111 warnings in /var/log/messages about "has no check time period defined!" for services and hosts that were created with either the Linux or Windows wizard.

Re: "No Check Time Period Defined"

Posted: Tue Oct 18, 2011 9:13 am
by MathieuS
I've noticed the same. I think this is a bug. You have to manually edit them in the core config manager.

Re: "No Check Time Period Defined"

Posted: Tue Oct 18, 2011 10:40 am
by mguthrie
I think this is a setting that's missing from the base host and service templates. It's not really bug, but the warning is there as more of a "best practices" indication. If you add the 24x7 timeperiod to the xiwizard_generichost and xiwizard_genericservice templates, the messages should disappear for most hosts and services. If it's not defined, I believe that 24x7 is the assumed check period.

Re: "No Check Time Period Defined"

Posted: Fri Oct 21, 2011 12:40 pm
by ecarrasq
Thanks
Closing this post, as resolved.