Revised help message and README
This commit is contained in:
5
README
5
README
@@ -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
|
USAGE: check_http_json.pl -U http://my.url.com -d sample.data
|
||||||
|
|
||||||
-U URL to retrieve (http or https)
|
-U URL to retrieve (http or https)
|
||||||
-d absolute path to data file containing hash to find with JSON response
|
-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,
|
-t Timeout in seconds to wait for the URL to load. If the page fails to load, will exit with UNKNOWN state (default 60)
|
||||||
Nagios check_http_json will exit with UNKNOWN state (default 60)
|
|
||||||
|
|||||||
@@ -105,12 +105,11 @@ sub HELP_MESSAGE
|
|||||||
--help shows this message
|
--help shows this message
|
||||||
--version shows version information
|
--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)
|
-U URL to retrieve (http or https)
|
||||||
-d absolute path to data file containing hash to find with JSON response
|
-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,
|
-t Timeout in seconds to wait for the URL to load (default 60)
|
||||||
$plugin_name will exit with UNKNOWN state (default 60)
|
|
||||||
|
|
||||||
EOHELP
|
EOHELP
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user