I have a configured NagiosXI template to ignore checks/notifications for specific time periods but not working and I'm still receiving notifications and checks also running during exclusion time period. I have tried moving configs up and deleting and re-creating configs but no luck. Can you please help me?
Here are the definitions:
Time Periods:
Code: Select all
define timeperiod {
timeperiod_name cp_standard_timeperiod_for_175oe1p
alias CP standard timings for bmds175oe01p
exclude cp_progress_db_exclusions_time_period
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
Code: Select all
define timeperiod {
timeperiod_name cp_progress_db_exclusions_time_period
alias Disable Monitoring during Maintenance
sunday 23:30-03:00
monday 23:30-03:00
tuesday 23:30-03:00
wednesday 23:30-03:00
thursday 23:30-03:00
friday 23:30-03:00
saturday 23:30-03:00
}
Code: Select all
define service {
name cp_linux_prod_progress_service_checks_template
hostgroup_name CP_Linux_Progress_Prod
service_description Service Checks for Prod Progress Server
max_check_attempts 5
check_period cp_standard_timeperiod_for_175oe1p
notification_interval 720
notification_period cp_standard_timeperiod_for_175oe1p
contacts ADMc65817EU
register 0
}
Code: Select all
define service {
service_description Q Warranty Report
use cp_linux_prod_progress_service_checks_template
check_command check_xi_ncpa!-t 'NagiosXi' -P 5693 -M 'plugins/check_procs' -q 'args=-w 1:2 -u progress -a /pin/bin/warranty_rep.pf'!!!!!!!
register 1
}
Code: Select all
define hostgroup {
hostgroup_name CP_Linux_Progress_Prod
alias CP Progress Prod Servers
members member1
}