"No Check Time Period Defined"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

"No Check Time Period Defined"

Post 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":
You do not have the required permissions to view the files attached to this post.
Last edited by ecarrasq on Fri Oct 21, 2011 12:40 pm, edited 1 time in total.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: "No Check Time Period Defined"

Post 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.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: "No Check Time Period Defined"

Post 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.
MathieuS
Posts: 24
Joined: Wed Aug 31, 2011 6:07 am

Re: "No Check Time Period Defined"

Post by MathieuS »

I've noticed the same. I think this is a bug. You have to manually edit them in the core config manager.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: "No Check Time Period Defined"

Post 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.
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: "No Check Time Period Defined"

Post by ecarrasq »

Thanks
Closing this post, as resolved.
Locked