Windows service datasource error
Hi everyone, very new to the community and the product so would love to get your feedback on this issue that I'm currently facing. I've got this custom datasource that is configured to capture critical windows services that are supposed to run but not running - I kinda edit from the original Windows Services datasource to fill our use case. The original works well but because of how much CPU/resources is pulling from, it's causing an issue for us. Thus why we are opting for a batchscript method rather than groovy so that it will less resource hungry.
The datasource is configured to run via embedded powershell and so far it has been working well but what I really cannot figure out is that there are a bunch of alerts for these services that flagged out but when I physically check the services in the VM, they are up and running. When I hit "Poll Now", I'm receiving these error. Can anyone who have the same issue, care to shed some light please.