my phttp.monitor fails but it does not send an alert
the entry in mon.cf is
watch web
service phttp
interval 5m
monitor phttp.monitor --port=8080 --request='GET / HTTP/1.0\nRequest-URI: /index.html\n\n' --regex='You are free to use the image below on an Apacha'
period wd {Sat-Sun}
alert exit=1 mail.alert [EMAIL PROTECTED]
i added the alert exit=1 to see what would happen...
phttp.monitor returns a 1 if it is unsuccessful and it does return a 1
in monshow it shows
+ pack_sockaddr_in command succeeded
+ socket command succeeded .
+ fcntl command succeeded
+ first connect succeeded
+ reconnect succeeded
+ syswrite command succeeded
- did not match the pattern expected
which is right since i intentionally mistyped my pattern.
so what setting is preventing my mon from sending me an alert?
