Nagios monitoring script to check JSON response
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README Revised help message and README Feb 26, 2012 Better organize execution flow Jan 18, 2013 Initial commit Feb 26, 2012


Retrieve an http/s url and checks its application type is application/json and the response content decodes properly into JSON.  
Optionally verify content is found using data file.

--help      shows this message
--version   shows version information

USAGE: -U -d

-U          URL to retrieve (http or https)
-d          absolute path to data file containing hash to find with JSON response (optional)
-t          Timeout in seconds to wait for the URL to load. If the page fails to load, will exit with UNKNOWN state (default 60)