Commit Graph

20 Commits

Author SHA1 Message Date
Bill Moritz
224effa18e Argparse required arguments cause an exit value of 2 which breaks OMD. Switch to self checking. 2015-08-31 13:35:14 -04:00
Bill Moritz
a4be4d42c6 Return metrics no matter the result 2015-08-31 11:36:27 -04:00
Bill Moritz
3058176ba1 Add data argument
Add an option to HTTP POST data to the host.
2015-08-22 09:42:06 -04:00
Jernej Porenta
b9d03c899f Allow multiple key value specification
Multiple key values can be specified by using colon delimiter.
2015-07-28 09:08:55 +02:00
root
fe2e830bf7 add arguments for http timeout and tcp port 2015-05-07 22:19:23 +00:00
drewkerrigan
82f4eaa48a added ability to reference array elements when the root element is an array 2015-05-06 12:17:00 -04:00
Hunor Kovács
4fa2c3b39a Updating readme with arrays. 2015-05-05 14:58:24 +03:00
Hunor Kovács
aa90ecad65 Changed from square brackets to normal paranthesis for arrays. Nagios doesn't like square brackets.
(http://sourceforge.net/p/nagios/nrpe/ci/master/tree/SECURITY illegal metachars section)
Fixed case when no dot after array (e.g. checks(0) wasn't working)
Extract paranthesis characters in attribute.
2015-05-05 14:32:16 +03:00
Hunor Kovács
3b048f66c5 Arrays are supported as well. format: alpha.beta[2].gamma.theta[0]
Fix: Now keys that are in the middle of the expression that are not found in the data, can be checked upon, without the script throwing an error.
2015-05-04 20:45:46 +03:00
Drew Kerrigan
d1ba09f44c merging + adding -f for Json Field Separator 2015-04-24 11:38:27 -04:00
Drew Kerrigan
171826f046 added -s for Json Field Separator to deal with fieldnames containing '.' 2015-04-24 11:32:03 -04:00
Drew Kerrigan
23ffc5e8a2 Merge pull request #4 from roobert/master
add https option
2015-04-24 10:35:01 -04:00
Drew Kerrigan
e6d1a96e9c Merge pull request #2 from chroto/feature/basic-auth
Add Basic Auth support
2015-04-24 10:34:45 -04:00
Rob Wilson
c50f0c2e74 add https option 2015-02-09 10:20:22 +00:00
Chris Proto
1c57ed3360 Add Basic Auth support 2014-06-12 12:13:38 -06:00
Maciej Sawicki
0241480494 Update check_http_json.py 2014-05-23 02:33:22 +02:00
Maciej Sawicki
426bd0fe4a Update check_http_json.py
casting compared values to floats instead of strings. String comparison uses lexicographical ordering: https://docs.python.org/2/tutorial/datastructures.html#comparing-sequences-and-other-types. It could cause unexpected behaviours.
2014-05-23 01:39:56 +02:00
Drew Kerrigan
6afad6056e fixes and new dot format for nested values 2014-03-10 14:15:11 -04:00
Drew Kerrigan
553cfd7531 fix symlink 2014-03-10 11:41:31 -04:00
Drew Kerrigan
6d9903ec4a initial commit 2014-03-10 11:36:17 -04:00