KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

possibility to AUTO acknowledge

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
menno



Joined: 21 May 2010
Posts: 157

PostPosted: Fri Sep 02, 2016 9:13 am    Post subject: possibility to AUTO acknowledge Reply with quote

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
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Fri Sep 02, 2016 10:15 am    Post subject: Reply with quote

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/mframe.htm#actions.htm#actScript
Back to top
View user's profile Send private message Send e-mail Visit poster's website
eddymicro



Joined: 13 Nov 2002
Posts: 95

PostPosted: Sun Sep 04, 2016 7:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index