Hi
Please help understand how i can define "time period" for host group.
I have services, and they use hostgroup_name for refer to hosts, but in some host groups i have different time period (work hours).
Need duplicate service with custom time periods?
Or i can use macros or some different ways?
[SOLVED] Host group and time period
-
- Posts: 2
- Joined: Fri Apr 07, 2017 4:34 am
[SOLVED] Host group and time period
Last edited by prostolitkk on Tue Apr 11, 2017 1:53 am, edited 1 time in total.
Re: Host group and time period
Timeperiods cannot be applied to hostgroups unfortunately. You would need to either define the timeperiods in-line for each host/service or use a template.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
- Posts: 2
- Joined: Fri Apr 07, 2017 4:34 am
Re: Host group and time period
Ok
Can i define time period for host, and link this host period to all they services that apply to it?
Can i define time period for host, and link this host period to all they services that apply to it?
Re: Host group and time period
The host's timeperiod will not be inherited by its services. Though you could define a single timeperiod and apply it to both hosts and services, yes.
As this page states, check_period is a required directive for a host/service definition:
https://assets.nagios.com/downloads/nag ... tions.html
As this page states, check_period is a required directive for a host/service definition:
https://assets.nagios.com/downloads/nag ... tions.html
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/