possibility to AUTO acknowledge

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
menno
Posts: 158
Joined: Fri May 21, 2010 1:27 am

possibility to AUTO acknowledge

Post by menno »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
eddymicro
Posts: 95
Joined: Wed Nov 13, 2002 6:00 pm

Post by eddymicro »

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