Master Monitor

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
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Master Monitor

Post by Kris »

Hiya,

I think I've seen this question here before, but I can't seem to find it.
What I would like to do is create a test that counts the 'bad' items in a specific folder, including underlying folders.
If the count of 'bad' items exceeds 5, then something really bad is (or could be) going on, and we need to investigate right away.

Does that make any sense? :)

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

Post by KS-Soft Europe »

You may use some test (e.g. Ping 127.0.0.1 ) with the following variables in reply and "Use Warning status if" expression:
%FolderRecursive_BadTests%
%FolderRecursive_UnknownTests%
%FolderRecursive_WarningTests%.
"Tune up Reply value" expression may look like the following:
[%FolderRecursive_BadTests%+%FolderRecursive_UnknownTests%+%FolderRecursive_WarningTests%]
"Use Warning status if" expression may look like the following:
(%FolderRecursive_BadTests%+%FolderRecursive_UnknownTests%+%FolderRecursive_WarningTests%) > 5
"Treat Warnign status as Bad" option should be enabled.

Please check for details at:
Folder statistical variables: http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro
Use Warning status if option: http://www.ks-soft.net/hostmon.eng/mfra ... ningstatus
Tune up Reply value option: http://www.ks-soft.net/hostmon.eng/mfra ... uneupreply
Kris
Posts: 375
Joined: Wed May 12, 2010 3:22 am

Post by Kris »

Took me a while to get around to it :)

Works perfectly. Thanks!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You are welcome :)
Post Reply