I am trying to work on some basic remediation tasks in Solarwinds and would like to start basic. If I get a drive space alert run script on server to clear certain directories, if this works clear the alert, if not fire off the alert. I saw something about this awhile back in a webinar or THWACK thing.
1.Alert checks if Drive space hits 95% utilized.
2.Node drive space his 95% utilized run PS Script to delete data out of certain directories.
3. PS Script runs, deletes what it can.
4. If this cleared up enough drive space do not send out an alert.
5. If drive space is still over 95% utilized send out an alert.
Can I do this in one alert or am I over simplifying this?
I am assuming we can use Execute an External Program.

I am going over my notes on this to see if I can figure it out. Hoping this is simple enough to start out with and once I get this figured out can expand out more.
Thanks,
Dave