Skip to content
Snippets Groups Projects

check_http: update output

Merged Hahn Axel (hahn) requested to merge add-systemdunit into master
2 files
+ 20
20
Compare changes
  • Side-by-side
  • Inline

Files

+ 5
5
@@ -103,7 +103,7 @@ OK: GET https://www.example.com/ (200)
@@ -103,7 +103,7 @@ OK: GET https://www.example.com/ (200)
Command: curl -si -X GET https://www.example.com/
Command: curl -si -X GET https://www.example.com/
Found:
Found:
- Http status is a 2xx OK [200];
- Http status is a 2xx OK [200]
```
```
### Http HEAD of an url
### Http HEAD of an url
@@ -118,7 +118,7 @@ OK: HEAD https://www.example.com/ (200)
@@ -118,7 +118,7 @@ OK: HEAD https://www.example.com/ (200)
Command: curl -si -X HEAD https://www.example.com/
Command: curl -si -X HEAD https://www.example.com/
Found:
Found:
- Http status is a 2xx OK [200];
- Http status is a 2xx OK [200]
```
```
### Exact status code
### Exact status code
@@ -170,9 +170,9 @@ This filter we put into the ``-j`` param:
@@ -170,9 +170,9 @@ This filter we put into the ``-j`` param:
OK: GET https://keycloak.example.com:8443/health (200)
OK: GET https://keycloak.example.com:8443/health (200)
Found:
Found:
- jq filter [.status] matches.
- jq filter [.status] matches
- Http status is a 2xx OK [200];
- Http status is a 2xx OK [200]
- [UP] was found in body;
- [UP] was found in body
Hints:
Hints:
Content aufter jq filter: "UP"
Content aufter jq filter: "UP"
Loading