From b3b005dad897be0c2a8fcf056d31623a0a01491e Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 7 Feb 2014 19:41:46 +0100 Subject: better check on the status code as the reason is optional --- manifests/service/http.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/service') diff --git a/manifests/service/http.pp b/manifests/service/http.pp index f0390be..1470cac 100644 --- a/manifests/service/http.pp +++ b/manifests/service/http.pp @@ -8,7 +8,7 @@ define nagios::service::http( $check_domain = 'absent', $port = '80', $check_url = '/', - $check_code = 'OK', + $check_code = '200', $use = 'generic-service', $ssl_mode = false ){ -- cgit v1.2.3