Alert based on results from multiple tests
-
- Posts: 1
- Joined: Tue Mar 25, 2014 9:51 am
Alert based on results from multiple tests
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.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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
> 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