Add missing parameters for jmx4perl check command

fixes #10503
This commit is contained in:
Jo Goossens 2015-11-05 17:50:47 +01:00 committed by Michael Friedrich
parent dda05f0322
commit 773e398799
2 changed files with 17 additions and 1 deletions

View File

@ -1995,7 +1995,9 @@ jmx4perl_label | **Optional.** Label to be used for printing out t
jmx4perl_perfdata | **Optional.** Whether performance data should be omitted, which are included by default. Defaults to "on" for numeric values, to "off" for strings.
jmx4perl_unknown_is_critical | **Optional.** Map UNKNOWN errors to errors with a CRITICAL status. Defaults to false.
jmx4perl_timeout | **Optional.** Seconds before plugin times out. Defaults to "15".
jmx4perl_config | **Optional.** Path to configuration file.
jmx4perl_server | **Optional.** Symbolic name of server url to use, which needs to be configured in the configuration file.
jmx4perl_check | **Optional.** Name of a check configuration as defined in the configuration file, use array if you need arguments.
#### <a id="plugins-contrib-squid"></a> squid

View File

@ -192,6 +192,20 @@ object CheckCommand "jmx4perl" {
value = "$jmx4perl_timeout$"
description = "Seconds before plugin times out (default: 15)"
}
"--config" = {
value = "$jmx4perl_config$"
description = "Path to configuration file."
}
"--server" = {
value = "$jmx4perl_server$"
description = "Symbolic name of server url to use, which needs to be configured in the configuration file."
}
"--check" = {
value = "$jmx4perl_check$"
description = "Name of a check configuration as defined in the configuration file, use array if you need arguments."
order = 1
repeat_key = false
}
}
vars.jmx4perl_url = "http://$address$:8080/jolokia"