Multiple master tests? [Solved]

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
Kren
Posts: 18
Joined: Tue Apr 09, 2013 4:35 am
Location: United Kingdom

Multiple master tests? [Solved]

Post by Kren »

Hi all

We have a remote site, connected via a layer 3 link with a bunch of servers in it. Each servers' tests use the server ping test as a master, each of those ping tests use the core switch as a master. So far so good.

As we're now expanding this remote site use, they've installed a 2nd, alternate line / route.

Is there any way that I can get change the master test to say "only test the core switch, if either router A interface OR router B interface is up"?

In a similar vein, I have no issues with setting up a test on router A and router B to monitor them, just like any other ping test. But is there a way to test both router A AND router B, to fire off a high priority alert if BOTH of those tests fail?

Thanks in advance for any ideas / help.
Last edited by Kren on Mon Jan 25, 2016 1:37 am, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Quote from the manual

This test depends on expression
Instead of making test to be dependent on a list of Master tests you can define a condition to perform the test using logical expression.
This mode is more complicated than a standard list of Master tests but it is very flexible. Just several simple examples:
- with expression ('%::Ping Router::SimpleStatus%'=="UP") and ('%::Ping Router::Reply%'<'800 ms') HostMonitor performs a test when the test named "Ping Router" has a good status and the reply time for the router is below 800 ms;
- use expression like ('%::TestA::SimpleStatus%'=='UP') or ('%::TestB::SimpleStatus%'=='UP') to perform a test when either TestA or TestB has "good" status.
...
Note: There is special button in Test Properties dialog that allows you to bring up "Expression editor" window for convenient expression editing.

Regards
Alex
Kren
Posts: 18
Joined: Tue Apr 09, 2013 4:35 am
Location: United Kingdom

Thanks!

Post by Kren »

Thanks for the reply and the information Alex. That will teach me just to try googling with search terms rather than just RTFMing.
Post Reply