Hello all,
I'm trying to create a Notification Template so that every time my HTTP site doesn't respond, PRTG can restart IIS.
My batch file is simple
@echo on C:\Windows\System32\iisreset.exe
When I configure and test by dropping a test page, the command runs successfully in prtg, but nothing happens on the server.
PRTG log; 07/18/2022 23:10:06 None Notification Template IISRESET - Notification Info Status sending EXE:Ok (Sensor/Source/ID: 26072/26072/1)
Any light?
I've already tried scripting via Powershell, simple script tmb;
invoke-command -scriptblock {iisreset}
But the error was different;
Error sending EXE; Error1. MABR10: The term MABR10 is not recognized as the name of a cmdlet, function, script file, or operable program...
can you help me?
Hello,
Are you able to run the script correctly manually? If so, feel free to reach out to us directly via mail at support@paessler.com and send us screenshots of the issue you are facing as well the script you are using so we can take a closer look.
Jul, 2022 - Permalink