Folder red send mail !!

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
nasdo AG
Posts: 14
Joined: Wed Sep 16, 2009 6:06 am

Folder red send mail !!

Post by nasdo AG »

Hey,

I hope someone could help me,
I use Hostmonitor 8.32.
If a folder is red (any item is bad in this folder) i want to get a email...
How does it works?

greetings from schwabach (bavaria)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Well, actions are triggered by test items. So, you should add "Send e-mail" action to action profile(s) assigned to the test items.
If you want to send e-mail when any tests become "bad" and do not send other e-mails when 2nd, 3rd test within the same folder become "bad", you may use "advanced mode" action and expression like %(FolderCurrent_BadTests% == 1) and ('%SimpleStatus%'=='DOWN') and (%Recurrences%==1)

Another possible solution: add auxiliary test item (e.g. Ping localhost), select "This test depends on expression" option, use expression like (%FolderCurrent_BadTests%==1). Then you may assign alert profile with "Send e-mail" action to this single test.

More information available in the manual, also you may visit our web site at
- advanced actions: http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
folder-related macro variables: http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro

Regards
Alex
Post Reply