https://github.com/bjoern-hempel/check_http_2
https://github.com/bjoern-hempel/check_http_2
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bjoern-hempel/check_http_2
- Owner: bjoern-hempel
- Created: 2020-05-23T17:30:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T22:03:10.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T03:13:18.736Z (4 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# check_http_2 - a simple nagios http check script
## Usage
```bash
user$ bin/check_http_2 -h
This is a simple nagios check script for checking the http status.Syntax: check_http_2 [[[-u url ] [-s status-code] [-t check-content]] | [-h]]
options:
-u | --url Adds the url you want to check.
-p | --path The path you want to check (default is "/").
-s | --status-code The expected status code.
-t | --content The content the request must contain.-h | --help Shows this help dialog.
-v | --version Shows the version of this script.
``````bash
user$ bin/check_http_2 -u https://www.futuresax.de -p /unternehmen -s 200 -t "futureSAX für Unternehmen | futureSAX"
HTTP OK: HTTP/1.1 200 OK - 70900 bytes in 0.683 second response time
```