

No Watches would be running during that period and anything that simply "looked back" would traditionally look for the time since the expected last run of the Watch, which tends to be the trigger time ( 1m in my case). For instance, imagine that Watcher was not running (for any reason) for a day. A classic issue with many alerting tools is that they fail to look for alerts during any time that they were not running. Using the state allows you to build very robust alerts while also being able to survive unexpected downtime.
#EBAY WATCHER ALERT FREE#
In the case of monitoring, we make use of the state both in the UI and in the Watch, which is a convenient win-win, but you could feel free to email (or Slack, HipChat, etc.) a more reader-friendly copy of the state as a secondary action, while also indexing the state for follow-on use. That's where you get the beefy transform script. The display then becomes a matter of transforming the checks into whatever we want them to look like. Also, once we answer both of those questions, we can control the flow of all actions. This avoids the need to constantly look for "are we okay?" because it's implied and we can therefore assume we're okay if we're not failing.

Report the transition in the action(s).Use a script condition and most likely a script transform to compare the separate responses and determine if this is worth alerting against.Detect both scenarios in the same Watch using the separate inputs.This is generally the simplest approach.The second Watch triggers on detecting the "Error -> Okay" transition.The first Watch triggers on detecting the "Okay -> Error" transition.

#EBAY WATCHER ALERT HOW TO#
Therefore, the issue that you may be having is how to define the right condition and there are a lot of different strategies that you can employ, depending on the complexity that you are willing to endure: If the condition passes, such as when an "error" state is detected, then you can follow up by performing any action that is supported by Watcher. Hi can absolutely do this because it is just a matter of defining a condition to trigger on.
