summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoro <o@immerda.ch>2014-12-01 11:55:27 +0100
committero <o@immerda.ch>2014-12-01 11:55:27 +0100
commit60a2b8106a9403d786ca03a759035ad54d5976fc (patch)
treee13fe4167cd7d32225ce9f29847e9bf3bf296b0a /manifests
parent0941bc8c201bccaffaf40e51e04239fcc9fc0c7c (diff)
check_http by default also accept 301/302
Diffstat (limited to 'manifests')
-rw-r--r--manifests/service/http.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/service/http.pp b/manifests/service/http.pp
index 502758d..b80c140 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 = '200',
+ $check_code = '200,301,302',
$use = 'generic-service',
$ssl_mode = false
){