View previous topic :: View next topic |
Author |
Message |
mrw
Joined: 08 Oct 2012 Posts: 182
|
Posted: Mon Jan 25, 2021 6:37 am Post subject: How to create action that restarts IIS |
|
|
Hi,
I have set up a "URL request" test to monitor a specific site to see if its working or not. The test works fine.
But what would be the easiest(best) way to configure an action that does a "IISreset" on that specific server when the alarm triggers?
Thanks in advance,
//Andreas.. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon Jan 25, 2021 1:34 pm Post subject: |
|
|
Also, you may use single Restart service action to restart w3svc and WAS services, specify services in this order: w3svc, WAS
(will fails if you are using old HostMonitor)
Regards
Alex |
|
Back to top |
|
|
mrw
Joined: 08 Oct 2012 Posts: 182
|
Posted: Tue Jan 26, 2021 7:31 am Post subject: |
|
|
I tried Execute external program and just set the command to iisreset <ip> to be run from the RMA agent.
That seems to work perfectly. ATM I only need this test on one server but will try %HostAddr% if I need to.
Thank you very much!
//Andreas.. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jan 26, 2021 7:55 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|