Does anyone know of a method through SAM to stop and disable a monitored window service? Possibly as an alert action.
I am working on making sure that servers do not have the print spooler service running on them as print nightmare is still a thing. I have all windows servers with a custom application monitor right now that monitors the print spooler service and then just sets the status of the component to "Not Running" if the service is down.
I have also added a custom properly on my nodes just a basic yes/no field to if we as an organization have said the server needs the service running.
what i am envisioning is an alert that will watch if that component is up and my custom property is set to "NO" then it would some how stop and disable the service.
Not sure if this can be done in NPM/SAM alone or if this is something that SCM would be needed for (which I do not have yet)