AD/Witness Server Restart : Critical Alarm for URL Checks
Posted: Tue Oct 08, 2019 1:49 pm
Every time I do a restart on my AD/Witness server my URL checks fail and show critical and send off my emails/texts. I thought it had to do with our secondary dns not being setup properly. There was a network issue in allowing DNS but that was resolved. We ran over our secondary dns also. But once we restart that primary dns the checks fail. Why is that? What could be causing the issue?
Below are the cfg files:
define host {
host_name http://prod1.yyyy.com/api/api.asmx
use generic-host
address prod1.yyyy.com
check_command check_tcp!80!
max_check_attempts 5
check_interval 5
retry_interval 1
contact_groups admins
notification_interval 60
notification_period 24x7
check_period 24x7
register 1
}
define service {
host_name http://prod1.yyyy.com/api/api.asmx
service_description URL Status
use generic-service
check_command check_service_http! -f follow -u '/api/api.asmx'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups admins production
register 1
}
-------------------------------------
define host {
host_name http://prod.xxxx.com/api/api.asmx
use generic-host
address prod.xxxx.com
check_command check_tcp!80!
max_check_attempts 5
check_interval 5
retry_interval 1
contact_groups admins
notification_interval 60
notification_period 24x7
check_period 24x7
register 1
}
define service {
host_name http://prod.xxxx.com/api/api.asmx
service_description URL Status
use generic-service
check_command check_service_http! -f follow -u '/api/api.asmx'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups admins production
register 1
}
Below are the cfg files:
define host {
host_name http://prod1.yyyy.com/api/api.asmx
use generic-host
address prod1.yyyy.com
check_command check_tcp!80!
max_check_attempts 5
check_interval 5
retry_interval 1
contact_groups admins
notification_interval 60
notification_period 24x7
check_period 24x7
register 1
}
define service {
host_name http://prod1.yyyy.com/api/api.asmx
service_description URL Status
use generic-service
check_command check_service_http! -f follow -u '/api/api.asmx'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups admins production
register 1
}
-------------------------------------
define host {
host_name http://prod.xxxx.com/api/api.asmx
use generic-host
address prod.xxxx.com
check_command check_tcp!80!
max_check_attempts 5
check_interval 5
retry_interval 1
contact_groups admins
notification_interval 60
notification_period 24x7
check_period 24x7
register 1
}
define service {
host_name http://prod.xxxx.com/api/api.asmx
service_description URL Status
use generic-service
check_command check_service_http! -f follow -u '/api/api.asmx'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups admins production
register 1
}