View previous topic :: View next topic |
Author |
Message |
menno
Joined: 21 May 2010 Posts: 157
|
Posted: Fri Sep 02, 2016 9:13 am Post subject: possibility to AUTO acknowledge |
|
|
hi team
we have a couple off test that need to bee auto acknowledge
is that possible with the " tune up the reply " function ????
or is there an other way to do that ???
if BAD or WARNING then ACK the test
many thanks in advance
menno |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
|
Back to top |
|
|
eddymicro
Joined: 13 Nov 2002 Posts: 95
|
Posted: Sun Sep 04, 2016 7:26 am Post subject: |
|
|
This is how I did it:
I have an alert Profile called autoACK it has three actions
Action1: HTTP request (This sends a text alert)
Action2: HTTP request (after 22 minutes send repeated alert)
Action3: Execute HMS Script (Auto Ack after 7200 seconds)
To setup Action 2
--------------------
Uses the advanced mode for "Condition to start action"
Use the following logical expression: ('%SimpleStatus%'=='DOWN') and (%CurrentStatusDuration_sec%>=1320) and (%CurrentStatusDuration_sec% < (1320 + %Interval_Sec%))
To setup Action 3
--------------------
Uses the advanced mode for "Condition to start action"
Use the following logical expression:
('%SimpleStatus%'=='DOWN') and (%CurrentStatusDuration_sec%>=7200) and (%CurrentStatusDuration_sec% < (7380 + %Interval_Sec%))
In the "Script file" box Place a text file with the following command:
AckTestStatusbyID %TestID% StopAlerts AutomatedAcknowledge |
|
Back to top |
|
|
|