Forum Discussion
Anonymous
5 years agoYep: https://github.com/sweenig/monitoring-recipes/blob/master/DataSources/Groovy/WMI/WMI_Query.groovy
I'm trying to find a definitive answer, but I think the restriction is that PowerShell based datasources can only run on Windows collectors. The product team built a WMI class for groovy that's been included in the collector for several versions now. So, WMI in groovy on linux, yes. WMI in groovy on Windows, yes. WMI in powershell on linux, no (because linux can't interpret the powershell scripts). Don't quote me on this one, still looking for definitive proof.
Related Content
- 2 years ago
- 7 months ago
- 8 months ago
- 5 months ago