Hello Community!
I have a situation where I simply want to monitor if a service has a startup type of automatic and if the service is in a started state. If the service is in a stopped state, I want solarwinds to be able to alert on it.
I've used a similar template and runs on about 60% of my servers for servers that sit on the same domain as the SAM server.
The problem becomes when cross domain is required, where the node sits on a separate forest & domain with no trust. Is there any way to run scripts without a trust required to the necessary domain?
I'm running into the impersonation issue, where the script runs locally on the SAM server, trying to execute against the destination node. The issue is that the destination account doesn't have permission to the local SAM server. This is obvious since there's no trust to the destination domain, however, I suspect there should be some method of allowing this authentication through to the destination node on the separated domain.
I do not want to gather statistic data through the templates, if i can help it. The build out of the templates would take a long time to do such a simple task.
The script solves my problem, however, I need to figure out how to impersonate the other domain properly without a trust. Is this possible?
Template Used: Check All Services Which Set To Automatic Mode Are Running
Thanks,
Ryan