Page 1 of 1

Windows WMI Configuration Wizard & Disk Usage Values

Posted: Thu Nov 07, 2019 6:49 am
by PeeJay83
Good Morning,

I am currently going through the process of adding a number of hosts to Nagios XI using the Windows WMI Configuration Wizard. We have previously opted to monitor disk space by value (i.e. -w _FreeGB=10: -c _FreeGB=5:) instead of percentage, however the plugin only accepts a percentage value. This means that once the host has been added, we need to go back to the disk usage services to swap the values over from percentage.

Is there any way to make use of the FreeGB settings when using the wizard? Or is there an alternative method to achieve this?

Any help would be greatly appreciated. Thanks!

Re: Windows WMI Configuration Wizard & Disk Usage Values

Posted: Thu Nov 07, 2019 1:02 pm
by lmiltchev
I see this is your first post and I'd to thank you for choosing Nagios! We're happy have you in the community. Besides the support forum, please check out our knowledgebase for useful tech tips and HowTos. And to extend product functionality, you'll find thousands of plugins and addons on the Nagios Exchange. Welcome aboard!

Here's a "workaround" that you could use in the WMI wizard itself. Enter "_FreeGB=10:" in the warning field, and "_FreeGB=5:" - in the critical field (without the quotes). Don't worry about the "%" sign. Run the wizard. The checks should be created properly with "-w _FreeGB=10: -c _FreeGB=5:".
example01.PNG
Let us know if this helped.

Re: Windows WMI Configuration Wizard & Disk Usage Values

Posted: Wed Nov 13, 2019 9:28 am
by PeeJay83
That worked perfectly, thank you. :)

Re: Windows WMI Configuration Wizard & Disk Usage Values

Posted: Wed Nov 13, 2019 9:32 am
by scottwilkerson
PeeJay83 wrote:That worked perfectly, thank you. :)
Great!

Locking thread