Commit Graph

40 Commits

Author SHA1 Message Date
drewkerrigan
8adcf2ff07 updating docs 2015-11-19 13:49:24 -05:00
drewkerrigan
fb4e58b635 Adding support for -E, -Q, -w, -c, fixing threshold checking on -m, added UnitTest task, removed -l, -g 2015-11-18 23:07:50 -05:00
drewkerrigan
32a8884881 added ability to supply an alias for a key re: #10 2015-11-15 23:50:12 -05:00
drewkerrigan
2644151b5f adding header for nagios configuration 2015-10-05 12:40:52 -04:00
drewkerrigan
55b979f3e2 Merge branch 'master' of github.com:drewkerrigan/nagios-http-json 2015-10-05 10:36:46 -04:00
drewkerrigan
369d5115a3 extra debugging 2015-10-05 10:36:40 -04:00
Drew Kerrigan
ea7edf5d01 Merge pull request #17 from billmoritz/metrics-fix
Return metrics no matter the result
2015-08-31 12:55:17 -04:00
Bill Moritz
a4be4d42c6 Return metrics no matter the result 2015-08-31 11:36:27 -04:00
Drew Kerrigan
cb0a5927c2 Merge pull request #15 from billmoritz/http-post
Http post
2015-08-22 18:22:07 -04:00
Bill Moritz
42e75abcad Update README.md 2015-08-22 09:47:25 -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
Drew Kerrigan
e4334d0c4a Merge pull request #13 from nejec/master
Allow multiple key value specification
2015-07-29 11:45:04 -07: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
Drew Kerrigan
15c5075cc1 Merge pull request #12 from MrOppermann/public-readme.me-and-script-help-are-different
synchronized readme.me and help of plugin regarding usage description
2015-07-13 17:22:42 -04:00
frederic.oppermann
1be1b2e5a2 synchronized readme.me and help of plugin regarding usage description 2015-07-13 17:05:27 +02:00
Drew Kerrigan
1772543ee3 Merge pull request #9 from invertigo/master
add arguments for http timeout and tcp port
2015-05-07 19:48:51 -04:00
root
fe2e830bf7 add arguments for http timeout and tcp port 2015-05-07 22:19:23 +00:00
drewkerrigan
dd439998db added ability to reference array elements when the root element is an array 2015-05-06 12:19:18 -04:00
drewkerrigan
82f4eaa48a added ability to reference array elements when the root element is an array 2015-05-06 12:17:00 -04:00
Drew Kerrigan
9aa7ed57aa Merge pull request #7 from kovacshuni/arrays
Changing form [] to () because of Nagios issues. Fixes.
2015-05-05 10:30:10 -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
Drew Kerrigan
c678dfd518 Merge pull request #6 from kovacshuni/arrays
Arrays are supported as well. format: `alpha.beta[2].gamma.theta[0]`
2015-05-04 14:00:02 -04: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
eb8c927343 typo, changing -s to -f for field separator 2015-04-24 11:39:28 -04: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
Drew Kerrigan
15a2909705 Merge pull request #1 from viroos/master
Update check_http_json.py
2015-04-24 10:34:31 -04:00
Drew Kerrigan
46f045131c adding license 2015-04-24 10:23:02 -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
a322e17c63 Update README.md 2014-03-11 13:40:26 -04: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
Drew Kerrigan
95aa609b31 Initial commit 2014-03-10 08:30:37 -07:00