1
0
mirror of https://github.com/c-kr/check_json.git synced 2024-11-23 19:03:49 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
David Mat
327a941657 Enable proxy support for the HTTP(S) request
The 'env_proxy' option automatically loads proxy settings from *_proxy environment variables, if they are defined. This behaviour is consistent with other tools such as curl, wget, etc.
2015-07-13 18:28:09 +02:00
Joop Boonen
539635607c Added a boolean test option. For json variables with true/false. In this case -wen -c true/false as well as 0/1 can be used. 2015-04-23 13:47:42 +02:00
locutus304
db0bbef030 Update check_json.pl
Added "metadata" option to enable sending additional RESTful request parameters to server.
2014-12-11 10:32:39 -06:00
Graham McGregor
4967a0920b Fix for perl 5.8.8
Change the way $json_response has is referenced. See
https://stackoverflow.com/questions/20824920/perl-array-references-and-avoiding-type-of-arg-1-to-keys-must-be-hash-error
2014-11-05 10:04:56 -05:00
Christopher Kreft
0e6fe91112 version bump to 0.5 2014-09-29 13:34:35 +02:00
Manuel Sousa
045219b9bb Added support for multiple attribute checks in same call and wildcard output 2014-09-26 18:01:12 +01:00
Christopher Kreft
a4529419db Add new option outputvars to print JSON values in status message by rodo #6 2014-05-12 10:48:30 +02:00
Christopher Kreft
4a7e1ffb56 Added flag --ignoressl to ignore bad ssl certificates and fixed help text 2014-05-06 14:42:58 +02:00
Rodolphe Quiédeville
9d590c2cd1 Add option -T|contenttype to specify alternative content-type if the server does not answer application/json 2014-05-06 13:15:50 +02:00
Benjamin Rokseth
caeedf6435 small fix on divisor on check_value 2014-01-23 23:46:19 +01:00
Benjamin Rokseth
b716491160 added performance stats and cleaned up code 2014-01-23 22:38:12 +01:00
Benjamin Rokseth
33d2c1209a first draft 2014-01-23 15:54:07 +01:00
mail@denisu.jp
23a7580f2e Added Accept application/json
Some APIs output only cleartext if a correct accept-header is missing.
2013-06-26 20:06:21 +09:00
Christopher Kreft
75942dc27e fixed threshold output in perfdata 2013-05-01 15:01:23 +02:00
Christopher Kreft
59754e1b8c Added divisor, fixed help text 2013-04-28 20:30:44 +02:00
Christopher Kreft
45d107edc1 now exit critical on connection error 2013-04-28 20:07:31 +02:00
Christopher Kreft
04a60b603a initial commit 2013-04-28 18:39:35 +02:00