|
View previous topic :: View next topic |
Author |
Message |
agepox
Joined: 19 Aug 2014 Posts: 1
|
Posted: Tue Aug 19, 2014 8:55 am Post subject: Pausing alerts remotely |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Aug 19, 2014 9:22 am Post subject: |
|
|
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 |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
|
Back to top |
|
|
|
|
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
|