Go to file
Martin Geno 792d08711a README 2016-02-08 15:24:50 +01:00
README.md README 2016-02-08 15:24:50 +01:00
check_http.go programm init 2016-02-08 15:05:01 +01:00

README.md

check_http

Example .checkhttprc

---
ipv4: true
ipv6: true
domains:
- domain: google.de
  regex: "<title>.*</title>"

Output

Code Result
0 regex is okay
30 a http 30* recieved
W request is okay, but not regex
E everything else "error"
+-----------------------------+------+------+----------+----------+
|           DOMAIN            | IPV4 | IPV6 | SSL-IPV4 | SSL-IPV6 |
+-----------------------------+------+------+----------+----------+
| google.com                  | E    | E    | E        | E        |
+-----------------------------+------+------+----------+----------+