nagios_server: try and adjust for all the aws copr instances

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-02-21 19:44:39 +00:00 committed by Pierre-Yves Chibon
parent 46d9f4275d
commit 9a255e3c41
5 changed files with 27 additions and 3 deletions

View file

@ -4,3 +4,7 @@ define command{
command_line $USER1$/check_ssh -H $HOSTADDRESS$
}
define command{
command_name check-host-alive-ssh
command_line $USER1$/check_ssh -H $HOSTADDRESS$
}

View file

@ -14,6 +14,20 @@ define host {
register 0
}
define host {
name aws
check_command check-host-alive-ssh
max_check_attempts 8
checks_enabled 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 15
notifications_enabled 1
notification_options d,r
contact_groups fedora-sysadmin-ircbot
register 0
}
define host {
name mincheck
check_command check-host-alive4