From 4c89a8a93de11e976203908cbaaf28206d913689 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Fri, 3 Apr 2020 11:53:00 +0200 Subject: [PATCH] Update README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61c4d19..66e3a04 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Executing `./check_http_json.py -h` will yield the following details: usage: check_http_json.py [-h] [-d] [-s] -H HOST [-k] [-V] [--cacert CACERT] [--cert CERT] [--key KEY] [-P PORT] [-p PATH] [-t TIMEOUT] [-B AUTH] [-D DATA] [-A HEADERS] - [-f SEPARATOR] + [-f FIELD_SEPARATOR] [-F VALUE_SEPARATOR] [-w [KEY_THRESHOLD_WARNING [KEY_THRESHOLD_WARNING ...]]] [-c [KEY_THRESHOLD_CRITICAL [KEY_THRESHOLD_CRITICAL ...]]] [-e [KEY_LIST [KEY_LIST ...]]] @@ -62,6 +62,8 @@ optional arguments: -f SEPARATOR, --field_separator SEPARATOR JSON Field separator, defaults to "."; Select element in an array with "(" ")" + -F SEPARATOR, --value_separator SEPARATOR + JSON Value separator, defaults to ":"; -w [KEY_THRESHOLD_WARNING [KEY_THRESHOLD_WARNING ...]], --warning [KEY_THRESHOLD_WARNING [KEY_THRESHOLD_WARNING ...]] Warning threshold for these values (key1[>alias],WarnRange key2[>alias],WarnRange).