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
Aggregated test / monitor of monitors
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Aggregated test / monitor of monitors
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
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
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
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