From 46271c961b785134cec43d359d671a1228114c9f Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Thu, 15 Sep 2022 15:25:38 +0200 Subject: [PATCH] Bump version to 2.1.2 --- README.md | 4 +++- check_http_json.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3503d28..0ec1d36 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Generic Nagios plugin which checks json values from a given endpoint against argument specified rules and determines the status and performance data for that service. -Version: 2.0.0 (2020-03-22) +Version: 2.1.2 (2022-09-15) optional arguments: -h, --help show this help message and exit @@ -46,6 +46,8 @@ optional arguments: -s, --ssl use TLS to connect to remote host -H HOST, --host HOST remote host to query -k, --insecure do not check server SSL certificate + -X {GET,POST}, --request {GET,POST} + Specifies a custom request method to use when communicating with the HTTP server -V, --version print version of this plugin --cacert CACERT SSL CA certificate --cert CERT SSL client certificate diff --git a/check_http_json.py b/check_http_json.py index d21b3a1..b8d2afb 100755 --- a/check_http_json.py +++ b/check_http_json.py @@ -24,8 +24,8 @@ WARNING_CODE = 1 CRITICAL_CODE = 2 UNKNOWN_CODE = 3 -__version__ = '2.0.0' -__version_date__ = '2020-03-22' +__version__ = '2.1.2' +__version_date__ = '2022-09-15' class NagiosHelper: """