You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Geno 792d08711a README 8 years ago
README.md README 8 years ago
check_http.go programm init 8 years ago

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        |
+-----------------------------+------+------+----------+----------+