mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-22 10:23:50 +01:00
updating docs
This commit is contained in:
parent
070047cf55
commit
f63ac180b6
24
README.md
24
README.md
@ -136,25 +136,23 @@ optional arguments:
|
|||||||
|
|
||||||
#### Relevant Commands
|
#### Relevant Commands
|
||||||
|
|
||||||
**Warning:** `./check_http_json.py -H <host>:<port> -p <path> -w "metric,RANGE"`
|
* **Warning:** `./check_http_json.py -H <host>:<port> -p <path> -w "metric,RANGE"`
|
||||||
**Critical:** `./check_http_json.py -H <host>:<port> -p <path> -c "metric,RANGE"`
|
* **Critical:** `./check_http_json.py -H <host>:<port> -p <path> -c "metric,RANGE"`
|
||||||
**Metrics with Warning:** `./check_http_json.py -H <host>:<port> -p <path> -w "metric,RANGE"`
|
* **Metrics with Warning:** `./check_http_json.py -H <host>:<port> -p <path> -w "metric,RANGE"`
|
||||||
**Metris with Critical:**
|
* **Metris with Critical:**
|
||||||
|
|
||||||
./check_http_json.py -H <host>:<port> -p <path> -w "metric,,,RANGE"
|
./check_http_json.py -H <host>:<port> -p <path> -w "metric,,,RANGE"
|
||||||
./check_http_json.py -H <host>:<port> -p <path> -w "metric,,,,MIN,MAX"
|
./check_http_json.py -H <host>:<port> -p <path> -w "metric,,,,MIN,MAX"
|
||||||
|
|
||||||
#### Range Definitions
|
#### Range Definitions
|
||||||
|
|
||||||
**Format:** [@]START:END
|
* **Format:** [@]START:END
|
||||||
|
* **Generates a Warning or Critical if...**
|
||||||
**Generates a Warning or Critical if...**
|
* **Value is less than 0 or greater than 1000:** `1000` or `0:1000`
|
||||||
|
* **Value is greater than or equal to 1000, or less than or equal to 0:** `@1000` or `@0:1000`
|
||||||
**Value is less than 0 or greater than 1000:** `1000` or `0:1000`
|
* **Value is less than 1000:** `1000:`
|
||||||
**Value is greater than or equal to 1000, or less than or equal to 0:** `@1000` or `@0:1000`
|
* **Value is greater than 1000:** `~:1000`
|
||||||
**Value is less than 1000:** `1000:`
|
* **Value is greater than or equal to 1000:** `@1000:`
|
||||||
**Value is greater than 1000:** `~:1000`
|
|
||||||
**Value is greater than or equal to 1000:** `@1000:`
|
|
||||||
|
|
||||||
More info about Nagios Range format and Units of Measure can be found at [https://nagios-plugins.org/doc/guidelines.html](https://nagios-plugins.org/doc/guidelines.html).
|
More info about Nagios Range format and Units of Measure can be found at [https://nagios-plugins.org/doc/guidelines.html](https://nagios-plugins.org/doc/guidelines.html).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user