Hi !
HM 5.67 on Win2003:
* Set up a test
* Assign an alert profile
* Edit the alert profile so that it only has one "Bad" status action and no "Good" status actions
* Edit the "Bad" status action and set Condition to start action to "advanced mode"
* Enter (1==1) as logical expression - this should hopefully be valid any time
* Let the test fail - HM will execute whatever it should in the "Bad" action
* Let the test go OK - now HM will also execute the "Bad" action and this I can't understand.
If I change (1==1) to ('%SimpleStatus%'=='DOWN') HM will only execute the action when the test in fact goes Bad which is what I wanted to achieve. But I cannot understand that I need to check SimpleStatus for a test placed in the "Bad" action status column - shouldn't these actions only be run when test status goes Bad - or at least anything else but OK ?
Thanx in advance !
Kasper :O)
"Bad" action beeing executed on Good reply
Why not? 1==1 so action will be executed.Let the test go OK - now HM will also execute the "Bad" action and this I can't understand.
If you are using "advanced" action, bad and good become just words for humans. HostMonitor checks expression.
E.g. you setup condition like (%::TestA::Reply%>100) or (%::TestB::Reply%<50). Is this "good" or "bad"? HostMonitor doesn't care - if expression is True, action will be started.
Regards
Alex