... then exec '/bin/true'
Hello all,
I watch a local connection, and would like to receive a message
when the service is unreachable. This happens sometimes under high
load, but isn't such a big concern.
Since the service gets restarted when it misses 3 times within 3
cycles it would be enough if the first test just sends a mail when the
connection failed, but does not when the connection passes later.
Is there any way to do something like this:
If failed localhost:80 then alert else if passed then DONOTHING
Obviously there is no DONOTHING action, but it would make sense
here. Does anybody have a workaround?
Thanks,
Marcus