Dear SW and Everyone,
I hope this message finds you well. I am currently exploring the alert triggering action using the "execute program" function. However, when I simulate the process, I encounter an error stating "Execute program failed with exit code 1."
I have been using a local admin account and have successfully tested and approved it in the Database Manager accounts table. Please refer to the attached screenshot for verification.
Here is the content of the .bat file I have been working with:
===========================================
.bat
@echo off
echo "Hello">\SOLARWINDS-NPM\SWShare
I suspect that I might be doing something incorrectly, but my ultimate goal is to achieve automation. To provide a clearer understanding, I would like to create three alerts using the "Execute program" function as trigger actions.
Alert for when the disk reaches 85% or becomes full. This alert should perform a query using PowerShell or any other appropriate method to automatically clean up.
Alert for when a Windows service, as listed in services.msc, stops or becomes non-responsive. In this case, the alert should automatically restart the service when notified by NPM or SAM.
Alert for when a server goes down due to CPU or Memory reaching 100%. After 15 minutes, the server should automatically run a script. If the issue persists, the server should query for a reboot.
I would greatly appreciate your guidance or any queries you may have that can help me achieve these goals.
Thank you.

Another error

But this is approved.

