Dear SW and Everyone,
I hope this message finds you well. I am currently exploring the alert triggering action using the "execute program"
My ultimate goal is to achieve automation. I would like to create 3 alerts using the "Execute program" function as trigger actions
1.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.
2. 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.
3. 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.
If you have any query we can use powershell or .bat executable file it will be great.
Thank you.