I am trying to get a vbscript to execute when an alert is trigered. One of the alerts I am testing at this time is a temperature probe. I had an advanced script that needs parameters, but I put in a basic script (no parameters) to just open a text file and put some text in it. The script still does not execute when the alert is triggered. I tried the script at the server by running cscript myscript.vbs at the prompt and it works. I know the script should execute as when the alert is triggered all other events (such as send an email) are triggered.
What may be wrong?
This has been figured out! The Alerting service was running under the Local System account. I created an admin account for it and it executed flawlessly. I just was not getting any logs indicating what the issue may be. It is fixed now.