Revised help message and README

This commit is contained in:
Brian Buchalter 2012-02-26 08:50:10 -04:00
parent 7252840bf3
commit c04d012d9f
2 changed files with 5 additions and 7 deletions

5
README
View File

@ -7,6 +7,5 @@ Optionally verify content is found using data file.
USAGE: check_http_json.pl -U http://my.url.com -d sample.data
-U URL to retrieve (http or https)
-d absolute path to data file containing hash to find with JSON response
-t Timeout in seconds to wait for the URL to load. If the page fails to load,
Nagios check_http_json will exit with UNKNOWN state (default 60)
-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)

View File

@ -105,12 +105,11 @@ sub HELP_MESSAGE
--help shows this message
--version shows version information
USAGE: $0 -U http://my.url.com -d sample.data
USAGE: $0 -U http://my.url.com [-d sample.data]
-U URL to retrieve (http or https)
-d absolute path to data file containing hash to find with JSON response
-t Timeout in seconds to wait for the URL to load. If the page fails to load,
$plugin_name will exit with UNKNOWN state (default 60)
-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 (default 60)
EOHELP
;