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..
How to create action that restarts IIS
Restart w3svc service?
You may use Restart Service action
https://www.ks-soft.net/hostmon.eng/mfr ... actService
or use Execute external action, start the following command
iisreset IPaddress
https://www.ks-soft.net/hostmon.eng/mfr ... htm#actPrg
If you have many URL tests that check different web servers, you may use single alert profile for all tests, just use %HostAddr% variable instead of static IP
Regards
Alex
You may use Restart Service action
https://www.ks-soft.net/hostmon.eng/mfr ... actService
or use Execute external action, start the following command
iisreset IPaddress
https://www.ks-soft.net/hostmon.eng/mfr ... htm#actPrg
If you have many URL tests that check different web servers, you may use single alert profile for all tests, just use %HostAddr% variable instead of static IP
Regards
Alex