added missing cli args for V2.0

This commit is contained in:
Ricardo Bartels 2020-04-02 08:39:42 +02:00
parent 26a1b3dbe8
commit aad2376ac0

View File

@ -1,9 +1,9 @@
object CheckCommand "http_json" {
import "plugin-check-command"
import "plugin-check-command"
command = [ PluginDir + "/check_http_json.py" ]
command = [ PluginDir + "/check_http_json.py" ]
arguments = {
arguments = {
"--host" = {
value = "$address$"
description = "Hostname or address of the interface to query"
@ -53,12 +53,14 @@ object CheckCommand "http_json" {
value = "$http_json_headers$"
description = "additional http headers in JSON format to send with the request"
}
"--field_separator" = {
value = "$http_json_field_separator$"
description = "JSON Field separator, defaults to '.'; Select element in an array with '(' ')'"
}
"--value_separator" = {
value = "$http_json_value_separator$"
description = "JSON Value separator, defaults to ':'"
}
"--warning" = {
value = "$http_json_warning$"
description = "Warning threshold for these values, WarningRange is in the format [@]start:end"