View previous topic :: View next topic |
Author |
Message |
TFHDC
Joined: 01 Dec 2016 Posts: 6
|
Posted: Mon Dec 05, 2016 8:45 am Post subject: Advanced Action Properties - Customizing Sending Email |
|
|
Hello. I would like to customize when an email is sent, currently ping test is configured so that 30% or more packet lost is considered bad status. We would like to customize so HostMonitor sends email on bad status only when "no answer" state and send good email only when recovering from previous "no answer state". I am having difficulty setting this up. Any suggestions? Thanks. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Dec 05, 2016 8:57 am Post subject: |
|
|
Then simply change 30% to 100%.
Unless you want to use 30% threshold for some other action?
Regards
Alex |
|
Back to top |
|
|
TFHDC
Joined: 01 Dec 2016 Posts: 6
|
Posted: Mon Dec 05, 2016 11:25 am Post subject: |
|
|
Hi Alex, thank you for reply.
We would like to document/log the 30% or more packet loss.
Edit: I believe I just found the answer within the help file on the Good status action properties "action depends on bad one" option. This is perfect.! I think I am good now. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Dec 05, 2016 11:52 am Post subject: |
|
|
>We would like to document/log the 30% or more packet loss.
Than set the following options
- alert if lost ratio 100% or more
- Display: lost%
- keep your existing bad and good actions
- add another action to add log record when 30% or more packets lost - use "advanced mode" Record HM Log action with expression like ('%Reply%'>30)
Another possible solution
- alert if lost ratio 100% or more
- Display: lost%
- Optional status processing: use Normal status if ('%SuggestedReply%'>30)
-
- keep your existing bad and good actions
- add another action to add log record when 30% or more packets lost - use "advanced mode" Record HM Log action with expression like ('%Status%'=='Normal')
One more solution:
- alert if lost ratio 100% or more
- Display: lost%
- logging mode: Full or Reply, depends on your needs - in this case all test results will be stored in the log (even if lost ratio < 30%)
Regards
Alex |
|
Back to top |
|
|
TFHDC
Joined: 01 Dec 2016 Posts: 6
|
Posted: Mon Dec 05, 2016 6:07 pm Post subject: |
|
|
Thank you! |
|
Back to top |
|
|
|