E-Mail Problem

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
Genesis
Posts: 3
Joined: Thu Aug 27, 2009 12:54 am

E-Mail Problem

Post by Genesis »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Post Reply