Hi,
Is it possible to configure HostMonitor to stop it sending alerts if the status of a test turns to Unknown?
I ask this because some of servers are resource intensive and sometimes a few tests timeout for a few minutes and wondered if there is the ability to configure the alerts to only fire on a bad status and not an unknown status.
Marcus
Stop alerts if status unknown?
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: Stop alerts if status unknown?
Sure, it is possible. There are several ways to implement this:mrfrosty wrote:Is it possible to configure HostMonitor to stop it sending alerts if the status of a test turns to Unknown?
1. Disable "Treat Unknown status as Bad" option in "Test Properties" window for particular tests. With this option enabled, if test results cannot be obtained, actions are triggered by HostMonitor the same way as if the test returned a "Bad" status.
http://www.ks-soft.net/hostmon.eng/mfra ... knownIsBad
2. Use "Advance Mode" actions and expression with certain status, e.g.:
('%SimpleStatus%'=='DOWN') and (%Recurrences%==1)
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
As alternative, you may increase "Start when N consecutive Bad results occur" option to make HostMonitor to start action after second or third consecutive "Bad" result to avoid unnecessary alerts.
http://www.ks-soft.net/hostmon.eng/mfra ... properties
Regards,
Max