All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
We want to test if our internet connection is working. To test this we want to use 2 url tests, one to www.microsoft.com and one to www.google.com. We only want an internet connection failed alert when both tests fail.
Is it possible to only alert when 2 specific tests both fail?
If you want to start alert when both servers do not respond, use "advanced" mode for the action and condition like ('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN') and (%Recurrences%==1)
KS-Soft wrote:If you want to start alert when both servers do not respond, use "advanced" mode for the action and condition like ('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN') and (%Recurrences%==1)
Regards
Alex
Thanks Alex, but I don't have it working yet. My line is:
('%::Internet verbinding test 1::SimpleStatus%'=='DOWN') and ('%::Internet verbinding test 2::SimpleStatus%'=='DOWN') and (%Recurrences%==1)
I have put this line in the advanced mode of the first test (Internet verbinding test 1). For the second test, have put the alert profile on "do nothing".
There must be something wrong because no email is sent when I force both tests to Status = No answer.
I have put this line in the advanced mode of the first test (Internet verbinding test 1). For the second test, have put the alert profile on "do nothing".
Yes, this is wrong.
You should use the same action for both tests
Did some testing and it worked. Only thing is, sometimes the first test generates an alert and sometimes the second one. But thats just how it works I guess. Would be nice to have a general alert that does not mention test 1 or 2, but just says "Internet connection down"