Use new http feature

This commit is contained in:
kpcyrd 2014-09-17 19:28:11 +02:00
parent bef6cf9ecb
commit 30befed55b

View file

@ -1,9 +1,14 @@
- host: srv01
service: hamburg.freifunk.net
exec: curl hamburg.freifunk.net 2> /dev/null | grep -q "hamburg.freifunk.net | Initiative für freie Funknetzwerke in Hamburg"
http:
url: http://hamburg.freifunk.net/
contains: "hamburg.freifunk.net | Initiative für freie Funknetzwerke in Hamburg"
- host: srv01
service: formular.hamburg.freifunk.net
exec: curl formular.hamburg.freifunk.net 2> /dev/null | grep -q "Knotenverwaltung"
http:
url: http://formular.hamburg.freifunk.net/
contains: "Knotenverwaltung"
- host: srv01
service: graph.hamburg.freifunk.net
exec: curl http://graph.hamburg.freifunk.net/graph_compiled.js 2> /dev/null > /dev/null
http:
url: http://graph.hamburg.freifunk.net/graph_compiled.js