Commit Graph

66 Commits

Author SHA1 Message Date
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