diff options
author | Micah Anderson <micah@riseup.net> | 2010-12-25 18:26:22 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-12-25 18:26:22 -0500 |
commit | d51c4fb34ba3cc9df45186b5eb556d45d298b05c (patch) | |
tree | ea23a2bc93f23f708726962b137db86387832994 /manifests/service | |
parent | 89d7f78db3ede8c9a343f115b13d6e4f12b1fe7a (diff) |
fix the --warning --critical by appending it as optional ending arguments in the command specifier
Diffstat (limited to 'manifests/service')
-rw-r--r-- | manifests/service/mysql.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/service/mysql.pp b/manifests/service/mysql.pp index 96b63c6..ab4d8db 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}!${real_check_warning}${real_check_critical}${name}!${check_database}", + check_command => "check_mysql_health!${real_check_host}!${check_port}!${check_username}!${check_password}!${name}!${check_database}!${real_check_warning}!${real_check_critical}", } } |