Bet Diamond
2018-11-23 13:52:48 UTC
Greetings,
Currently im running a container with check_mk 1.5.0p6 and i have added a
timeperiod (week_period) with the below configuration:
# ------------------------------------------------------------
# Timeperiod definitions (controlled by variable 'timeperiods')
# ------------------------------------------------------------
define timeperiod {
timeperiod_name week_period
alias week_period
monday 06:00-20:00
tuesday 06:00-20:00
friday 06:00-20:00
wednesday 06:00-20:00
thursday 06:00-20:00
}
Then i created a rule following the steps " *Host & Service parameters -
Monitoring configuration - Various - Service period for* services"
Then if a go to the specific services i can see that rule is configured on
services :
# Active checks
define service {
use check_mk_perf,check_mk_default
host_name xxxxxxxxxx
service_description HTTP XXXXXXXXXXXXXX
check_command check_mk_active-http!'-I' '$_HOSTADDRESS_4$'
'-H' 'xxxxxxxxxx' '-u' 'xxxxx.html' '--ssl' '--onredirect=follow'
active_checks_enabled 1
notification_period week_period
_SERVICE_PERIOD week_period
}
So everything should be OK (i also followed the link
https://mathias-kettner.com/cms_availability.html#timeline ) . but when i
try to generate an availability report i select "Base report only on
service times" i still see the timeline for the whole time range period and
does not filter it by the service time and in the documentation " Only the
time ranges within the service times will be actually considered. In the
timeline display the remaining times will be âgreyed-outâ."
any ideas? i found this message a lot of times on nagios.log :
[1542980907] livestatus: Timeperiod cache not updated, there are no
timeperiods (yet)
i tried to restart check_mk, but im running out of ideas..
many thx in advance !
Currently im running a container with check_mk 1.5.0p6 and i have added a
timeperiod (week_period) with the below configuration:
# ------------------------------------------------------------
# Timeperiod definitions (controlled by variable 'timeperiods')
# ------------------------------------------------------------
define timeperiod {
timeperiod_name week_period
alias week_period
monday 06:00-20:00
tuesday 06:00-20:00
friday 06:00-20:00
wednesday 06:00-20:00
thursday 06:00-20:00
}
Then i created a rule following the steps " *Host & Service parameters -
Monitoring configuration - Various - Service period for* services"
Then if a go to the specific services i can see that rule is configured on
services :
# Active checks
define service {
use check_mk_perf,check_mk_default
host_name xxxxxxxxxx
service_description HTTP XXXXXXXXXXXXXX
check_command check_mk_active-http!'-I' '$_HOSTADDRESS_4$'
'-H' 'xxxxxxxxxx' '-u' 'xxxxx.html' '--ssl' '--onredirect=follow'
active_checks_enabled 1
notification_period week_period
_SERVICE_PERIOD week_period
}
So everything should be OK (i also followed the link
https://mathias-kettner.com/cms_availability.html#timeline ) . but when i
try to generate an availability report i select "Base report only on
service times" i still see the timeline for the whole time range period and
does not filter it by the service time and in the documentation " Only the
time ranges within the service times will be actually considered. In the
timeline display the remaining times will be âgreyed-outâ."
any ideas? i found this message a lot of times on nagios.log :
[1542980907] livestatus: Timeperiod cache not updated, there are no
timeperiods (yet)
i tried to restart check_mk, but im running out of ideas..
many thx in advance !