I'm setting up watchers in our system and I want to know if there is a possibility to recognize status (Green, Yellow, Red) for watcher.
If connection with some service went down and we will have 3 exceptions in last 5 minutes I want to send alert with status Yellow. Then if there will be 2 more I want to change status to Red. When connection came back I want to get email with Green status.
For now I set up watcher for monitoring connection with some service and it works but I'm wondering about those statuses.
I will be really happy if someone could help me with this.