Running custom WMI commands remotely from Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gilfalko
Posts: 10
Joined: Sat Oct 26, 2013 8:00 am

Running custom WMI commands remotely from Nagios

Post by gilfalko »

Hi

I've been looking into migrating all Windows service checks from NRPE to WMI and going agentless.
My issue is that I'm having difficulties finding a plugin that can get back performance counters without using NSCLIENT as the middleman.
If someone could send me down the right path it'd be great.

Thanks
Gil
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Running custom WMI commands remotely from Nagios

Post by tacolover101 »

have you seen this plugin? http://www.edcint.co.nz/checkwmiplus/
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Running custom WMI commands remotely from Nagios

Post by tgriep »

What types of counters and information do you want to poll from the Windows servers?
I don't think the check_wwi_plus command has a generic way to poll counters so you may have to create a custom ini check and the instructions do do that are in the link below.
http://www.edcint.co.nz/checkwmiplus/?q ... ClassCheck
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked