summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-11-07 21:28:01 +0000
committermh <mh@immerda.ch>2008-11-07 21:28:01 +0000
commitc40a07021964af415e09b4d0b8bbb0a1a4680f35 (patch)
treecdee87a86a86f70a1dd07b3a9f44cee2a08e32c6
parent86f6cb18f1b455aff3fa4ea4ea4210c201a103a8 (diff)
added fqdn to make it ready for the cluster
-rw-r--r--manifests/defines.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp
index e3621c3..752c857 100644
--- a/manifests/defines.pp
+++ b/manifests/defines.pp
@@ -132,12 +132,12 @@ define nagios::service::http(
){
case $ssl_mode {
'strict','true','only': {
- nagios::service{"check_https_${name}_code_${check_code}":
+ nagios::service{"check_https_${name}_code_${check_code}_on_${fqdn}":
check_command => "check_https_url_regex!${name}!${check_url}!'${check_code}'",
}
case $ssl_mode {
'strict': {
- nagios::service{"check_http_redirect_${name}":
+ nagios::service{"check_http_redirect_${name}_on_${fqdn}":
check_command => "check_http_url_regex!${name}!${check_url}!'301'",
}
}
@@ -146,7 +146,7 @@ define nagios::service::http(
}
case $ssl_mode {
'false,true': {
- nagios::service{"check_http_${name}_code_${check_code}":
+ nagios::service{"check_http_${name}_code_${check_code}_on_${fqdn}":
check_command => "check_http_url_regex!${name}!${check_url}!'${check_code}'",
}
}