Custom Metricset Based on Windows WMI

I'd like to create a custom Metricbeat Metricset based on the Windows WMI. I've looked at the developer guide, and although I'm an experienced C# developer, decided that it's a bit over my head.

All I need is a good reference implementation that I can customize with the WMI counters I need. I'm looking for a clean, crisp, well documented implementation I can use as a template.

Is such a template available?

If you run the generator as mentioned in the developer guide you should already get a pretty good basic structure with most of the relevant code bits. Then you can have a look at wmibeat (https://github.com/eskibars/wmibeat) which has an implementation to access wmi data. Combining the two should get you pretty far.

Let us know if you hit a wall.

1 Like

Thank you @ruflin. Very helpful!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.