diff --git a/contrib/icinga2_check_command_definition.conf b/contrib/icinga2_check_command_definition.conf index a8bfc49..1c034e1 100644 --- a/contrib/icinga2_check_command_definition.conf +++ b/contrib/icinga2_check_command_definition.conf @@ -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"