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

Pausing alerts remotely

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



Joined: 19 Aug 2014
Posts: 1

PostPosted: Tue Aug 19, 2014 8:55 am    Post subject: Pausing alerts remotely Reply with quote

Hi,

I want to write a powershell / batch script that will pause the alerts of a specific test remotely.

My goal is to turn off servers for maintenance and in the meantime to pause the alerts.

I don't find in the documentation any way to do that.

Thanks for your help!
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Aug 19, 2014 9:22 am    Post subject: Reply with quote

There is no such option - pause actions for specific test.
You may pause all actions or pause monitoring.
Also you may pause specific test(s) or you may change action profile assigned to the test.

If you want to perform some operations on test items, you may use HM Script action (or start HM Script manually)
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#actScript

If you want to execute script automatically, you need to assign this action to the scheduler or some test item.
E.g. you may create File Integrity test method to check if HMScript file was modified and execute script if modifications detected.
Mark "Recalculate CRC when file content changes are detected" option for this test
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#filecrc

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Tue Aug 19, 2014 9:26 am    Post subject: Reply with quote

You may pause test items remotely using one of the following ways:
1. manually, using Web Service: http://www.ks-soft.net/hostmon.eng/webservice/index.htm
2. manually, using RCC: http://www.ks-soft.net/hostmon.eng/rcc/index.htm
3. using script or manually using Telnet Service: http://www.ks-soft.net/hostmon.eng/telnetservice/index.htm
4. using HTTP/URL or EMAIL test with automatically executed received/detected script using "Execute HM Script" action.
EMail test: http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#emailchk
Execute HM Script action: http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#actScript
Multiline variables: http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#mlinevars
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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