check_http_json

A generic plugin for Nagios which checks json values from a given HTTP endpoint against argument specified rules and determines the status and performance data for that service.

Release v1.4

  • Added support for (*) (4950225)
  • Added '-k', '--insecure' option to ignore cert errors (e463369)
  • Added '-y' and 'Y' not equal option (d164a12)
  • Added client ssl cert support (67136a4)
  • Added Unknown option (27eaaf0)
  • Added version information and improved help text (bcc36a6)
  • Added default User-Agent header (7858382)
  • Improved output of values (9dd6323, 9656265)
  • Return more meaningful error message if parsing of data or ssl certs/keys failed (d98d039, 8437c46)

Special thanks to @bb-Ricardo

nagios-http-json-v1.4.tar.gz

Release tarball
application/gzip 2020-01-28 Download from Github

Release v1.3

  • Adding support for -E, -Q (Critical versions of -e, -q)
  • Added support for -w, -c (Warning and Critical thresholds for keys using the range format ([@]start:end)
  • Added correct return codes for threshold checks on -m using the range format ([@]start:end)
  • Added ./check_http_json.py UnitTest task
  • Removed -l, -g in favor of -w, -c

nagios-http-json-v1.3.tar.gz

Release tarball
application/gzip 2015-11-19 Download from Github

Release v1.2

More fixes, allows root element of data to be an array.

nagios-http-json-v1.2.tar.gz

Release tarball
application/gzip 2015-05-06 Download from Github