Alert based on results from multiple tests

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).
Post Reply
mcarlin007
Posts: 1
Joined: Tue Mar 25, 2014 9:51 am

Alert based on results from multiple tests

Post by mcarlin007 »

I have a situation where I have a three IP's I am monitoring. I want to alert only when all three IPs are down.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

There are several ways to achieve that:
> Using Master/Dependant test items:
1. You have 3 Ping tests: PING_A, PING_B, PING_C
2. Open Test Properties dialog for PING_C and set Master test as PING_B with condition: Perform test when Master test has "dead" or "unknown" status
3. Open Test Properties dialog for PING_B and set Master test as PING_A with the same condition.
4. Assign Bad action for test PING_C

> Using One additional test with Warning expression.
1. You have 3 Ping tests: PING_A, PING_B, PING_C
2. Setup one additional test Ping 127.0.0.1
3. Enable for this test "Use Warning status if" option with expression:
("%::PING_A::SimpleStatus%" == "DOWN") AND ("%::PING_B::SimpleStatus%" == "DOWN") AND ("%::PING_C::SimpleStatus%" == "DOWN")
4. "Treat Warning status as Bad" option should be enabled (Test properties dialog)

> Using Advanced mode action:
1. You have 3 Ping tests: PING_A, PING_B, PING_C
2. Assign Advanced mode action for all test items with expression like the following:
("%::PING_A::SimpleStatus%" == "DOWN") AND ("%::PING_B::SimpleStatus%" == "DOWN") AND ("%::PING_C::SimpleStatus%" == "DOWN") AND ("%Recurrences%"==1)

Please check for details at:
Master/dependant test items: http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Use Warning status if option: http://www.ks-soft.net/hostmon.eng/mfra ... ningstatus
Advanced actions: http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
Post Reply