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
possibility to AUTO acknowledge
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may use "Run HMS Action".
Create script with contents like this:
AckTestStatusbyID %TestID%
User "standard" or "advanced mode" action type to trigger "Run HMS Action" action.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
Create script with contents like this:
AckTestStatusbyID %TestID%
User "standard" or "advanced mode" action type to trigger "Run HMS Action" action.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
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
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