how to specify an off time in the check interval or...
Posted: Mon Dec 16, 2019 5:40 pm
Hello,
I have an unusual request - I think, not sure if Nagios can do this.
I've been asked on a service I put in
1. Can we have it run every 30 minutes? If I rerun data I wouldn’t want it to send an email every 3 minutes.
2. Also it will not run from 11CST to 5CST while cycles and hours are processing correct?
so I believe I resolved the run every 30 minutes... by setting the check_interval to 30 minutes and retry of 5 minutes
#use symbolic link on Windows 2012 server
# D:\>mklink /D ApmLoader "D:Delta Incoming\IncomingData\PersistentStore\Delta IBM MQ Series"
define service {
host_name GEIPALPDLTPRC01
service_description Delta File Count
check_command check_ncpa!-t 'gold3726' -P 5693 -M 'plugins/check_files.vbs' -a '-p 'D:\\ApmLoader' -w 200 -c 200'
max_check_attempts 5
check_interval 30
retry_interval 5
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups Delta-Admins
register 1
}
not sure how or if can be done NOT to RUN checks between 11CST to 5CST.
is there a way with the below parameter?
check_period 24x7
I have an unusual request - I think, not sure if Nagios can do this.
I've been asked on a service I put in
1. Can we have it run every 30 minutes? If I rerun data I wouldn’t want it to send an email every 3 minutes.
2. Also it will not run from 11CST to 5CST while cycles and hours are processing correct?
so I believe I resolved the run every 30 minutes... by setting the check_interval to 30 minutes and retry of 5 minutes
#use symbolic link on Windows 2012 server
# D:\>mklink /D ApmLoader "D:Delta Incoming\IncomingData\PersistentStore\Delta IBM MQ Series"
define service {
host_name GEIPALPDLTPRC01
service_description Delta File Count
check_command check_ncpa!-t 'gold3726' -P 5693 -M 'plugins/check_files.vbs' -a '-p 'D:\\ApmLoader' -w 200 -c 200'
max_check_attempts 5
check_interval 30
retry_interval 5
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups Delta-Admins
register 1
}
not sure how or if can be done NOT to RUN checks between 11CST to 5CST.
is there a way with the below parameter?
check_period 24x7