Check WMI Plus checkfoldersize

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
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Check WMI Plus checkfoldersize

Post by clombardo »

I am using the checkfoldersize command in the Check WMI Plus plugin:

Code: Select all

[root@livm51 plugins]# ./check_wmi_plus.pl -H xxx.xxx.xxx.xxx -m checkfoldersize -u user -p pwd -a C:/Users/username/Documents/folder1 -4 s
UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 192.168.19.154 might just be really busy, it might not even be running Windows.
is there anyway to increase the timeout? I checked both the nagios.conf and check_wmi_plus.conf files and there aren't any options there. Is it possible to increase the timeout?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Check WMI Plus checkfoldersize

Post by Box293 »

check_wmi_plus.pl --help

-t TIMEOUT
specify the number of seconds before the plugin will timeout. Some WMI queries take longer than others and network links with high latency may also require you to increase this from the default value of 15
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
clombardo
Posts: 41
Joined: Thu Mar 06, 2014 12:36 pm

Re: Check WMI Plus checkfoldersize

Post by clombardo »

That did it! Thank you very much! :mrgreen:
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check WMI Plus checkfoldersize

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked