I found several older posts about this and most mention using Putty to run the command.
What is the correct configuration to run Linux commands from an alert action in the new versions (2023.x) of SolarWinds?
I can't speak to the latest and greatest version, but I have always just used NCM to accomplish this, at least for basic stuff. For more advanced actions, I've built out scripts on the Linux boxes, then trigger the alert to run commands via NCM and initiate the server scripts. But for simple one liners, using NCM (either command directly or built into device templates) typically does the trick.
I do it this way as well. Have a dedicated place for all the scripts to live then execute them from there.
That sounds like a good process. Unfortunately, we don't own NCM.
can have your alert trigger action kick off the scripts, or have your ITSM/ticket system do it.