On Wed, Mar 11, 2009 at 7:30 AM, Gilad Benjamini <address@hidden>
Due to local problems, my system looses network connectivity once in a
When it does, I want monit to do "ifdown eth1 ; ifup eth1".
The action part should be easy.
My problem is with the test. I tried something like "check host cnn with
address www.cnn.com", but the name isn't resolvable, monit doesn't seem to
do what I want.
I am sure there is a simple solution, I just can't find it ...
Check connectivity to you gateway using ip address, check protocol dns to you dns server ...