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)
Folder red send mail !!
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
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