I'm trying to set a service with check_period value inherited from a template; using the "generic service" one, which has the 24x7 check period, I thought if service check_period is blank, it will take the value from the template, or maybe from the parent host; but going this way, CCM update fails with the "invalid blank check_period" or something similar; how can I set the check_period using some template?
Thanks in advance
Empty check_period ? is it possible?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Empty check_period ? is it possible?
What version of Nagios XI are you running? You should be able to set to set it in the template and it will be applied.
Are you getting the error saving, or when you apply the configuration?
Are you getting the error saving, or when you apply the configuration?
-
eltrasimaco
- Posts: 75
- Joined: Thu Aug 02, 2012 7:15 am
Re: Empty check_period ? is it possible?
5.4.8 version
I am able to set it in the template, but when applying ccm's configuration, I get the "red message" ( ... reverting configuration ... ) and, when clicking the "Errors" button, it shows "check_period cannot be blank" or similar. But the template does have a value.
I am able to set it in the template, but when applying ccm's configuration, I get the "red message" ( ... reverting configuration ... ) and, when clicking the "Errors" button, it shows "check_period cannot be blank" or similar. But the template does have a value.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Empty check_period ? is it possible?
Are you 100% sure your template is applied to the service you are creating?
-
eltrasimaco
- Posts: 75
- Joined: Thu Aug 02, 2012 7:15 am
Re: Empty check_period ? is it possible?
Almost ... but will try again, maybe I missed something
Thanks!
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Empty check_period ? is it possible?
Let us know if we can be of further assistanceeltrasimaco wrote:Almost ... but will try again, maybe I missed something
Thanks!