Aggregated test / monitor of monitors

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
FLynch
Posts: 75
Joined: Tue Jun 18, 2002 6:00 pm
Location: London UK

Aggregated test / monitor of monitors

Post by FLynch »

Hi,

I'm about to embark on setting up a monitor and would like to check I have my thinking right;

I'm setting up HM so that staff can view - via the web service - the status of critical applications. To give a VERY simple top level view I would like to aggregate the results of multiple tests into one monitor. It would be a sort of 'health' monitor.

So lets say there were 3 critical services/processes/servers etc necessary to be all up and running for email to flow. If all monitors = 'ok' then service is good, if 1 of the 3 is 'bad', service is 'warning', etc etc - hopefully you get the idea *.

I was thinking of using an Active Script monitor as this would give fine control.

Somewhere in the back of my mind is the notion that folder have aggregated stats and that maybe I could use these if I could manipulate the values?

Many Thanks
Fergus
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Aggregated test / monitor of monitors

Post by KS-Soft Europe »

You may use actions with Advanced mode.
This mode allows to start action that depends on status of several tests:
E.g.: if you will use expression for Advance mode action like:
('%::ServiceA::SimpleStatus%'=='DOWN') OR ('%::processesB::SimpleStatus%'=='DOWN') OR ('%::serverC::SimpleStatus%'=='DOWN')
Action (E.g. Send e-mail (SMTP)) will start if one of tests will fail.

Please check the manual or visit our web site for more information about advanced mode actions:
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
FLynch
Posts: 75
Joined: Tue Jun 18, 2002 6:00 pm
Location: London UK

Post by FLynch »

Hi - thanks for the steer. Will start tackling this today!

Fergus
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

There are variables that provide folder-level statistics, like %FolderCurrent_BadTests%, %FolderCurrent_UnknownTests%, %FolderRecursive_BadTests%
http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro

You may use these variables for advanced mode action; also you may use such variables for auxiliary test items using "This test depends on expression" or "Use warning status" options.

Regards
Alex
Post Reply