diff --git a/roles/nagios_server/files/nagios-external/services/websites.cfg b/roles/nagios_server/files/nagios-external/services/websites.cfg index 915d7b8a07..25b863b342 100644 --- a/roles/nagios_server/files/nagios-external/services/websites.cfg +++ b/roles/nagios_server/files/nagios-external/services/websites.cfg @@ -166,7 +166,7 @@ define service { define service { host_name 209.132.183.81-phx2 service_description whatcanidoforfedora.org - asknot-ng - check_command check_website!whatcanidoforfedora.org!/en/!What + check_command check_remote_website!whatcanidoforfedora.org!/en/!What use websitetemplate } diff --git a/roles/nagios_server/templates/nagios-external/checkcommands.cfg b/roles/nagios_server/templates/nagios-external/checkcommands.cfg index 9ea8e301e2..3c1def8d9e 100644 --- a/roles/nagios_server/templates/nagios-external/checkcommands.cfg +++ b/roles/nagios_server/templates/nagios-external/checkcommands.cfg @@ -75,6 +75,15 @@ define command{ command_line $USER1$/check_http -w 18 -c 28 --ssl -I $HOSTADDRESS$ -H $ARG1$ -u $ARG2$ -s "$ARG3$" } +define command{ + command_name check_remote_website + command_line $USER1$/check_http -w 18 -c 28 -H $ARG1$ -u "$ARG2$" -s "$ARG3$" +} +define command{ + command_name check_remote_website_ssl + command_line $USER1$/check_http -w 18 -c 28 --ssl -H $ARG1$ -u $ARG2$ -s "$ARG3$" +} + define command { command_name check_by_ssh_check_raid command_line $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ "$USER1$/check_raid.py"