Hallo,
i want to become a Status E-Mail only when the Status changes from "OK" --> "Bad" and "unknown" --> "Bad"
When the Status is is change from "Bad" --> "unknown" or "OK" --> "unknown" i dont want a E-Mail.
In the action properties in advanced mode i use this:
(('%Status%'=='Bad') and ('%LastStatus%'=='Ok')) or (('%Status%'=='Bad') and ('%LastStatus%'=='Unknown')
but now i never become a Status E-Mail.
where is the mistake?
Hostmonitor Version 6.54
Thanks
E-Mail Problem
May be this test never returns "Bad" status? May be it shows "No answer" or "Bad content" status?
I would use expression like ('%SimpleStatus%'=='DOWN') and (('%LastSimpleStatus%'=='UP') or ('%LastSimplStatus%'=='UNKNOWN'))
Note: You should disable "Treat Unknown status as Bad" test property.
On the other hand, I don't think you don't need "advanced" action for such simple task. Use standard "bad" action.
Also, If you do not receive e-mail, this does not mean HostMonitor did not start the action.
Please check the following article http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4804
Regards
Alex
I would use expression like ('%SimpleStatus%'=='DOWN') and (('%LastSimpleStatus%'=='UP') or ('%LastSimplStatus%'=='UNKNOWN'))
Note: You should disable "Treat Unknown status as Bad" test property.
On the other hand, I don't think you don't need "advanced" action for such simple task. Use standard "bad" action.
Also, If you do not receive e-mail, this does not mean HostMonitor did not start the action.
Please check the following article http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4804
Regards
Alex