summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-04-19 15:14:11 -0400
committerMicah Anderson <micah@riseup.net>2011-04-19 15:14:11 -0400
commit673a61cec6ce8209ed5a169cd53da7bcf9ba94d6 (patch)
tree3fb9a928d9e0526ab93ac01326551fbe390737ec
parentfae5aaef210a09a8b7b46b00ed36721d9beb83af (diff)
fix check_health_mode parameter
-rw-r--r--manifests/service/mysql.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/service/mysql.pp b/manifests/service/mysql.pp
index 7ebdd85..1b7bf81 100644
--- a/manifests/service/mysql.pp
+++ b/manifests/service/mysql.pp
@@ -50,6 +50,6 @@ define nagios::service::mysql(
nagios::service { "mysql_health_${name}":
ensure => $ensure,
- check_command => "check_mysql_health!${real_check_host}!${check_port}!${check_username}!${check_password}!${name}!${check_database}${real_check_warning}${real_check_critical}",
+ check_command => "check_mysql_health!${real_check_host}!${check_port}!${check_username}!${check_password}!${check_health_mode}!${check_database}${real_check_warning}${real_check_critical}",
}
}