Page 1 of 1

Check WMI Plus checkfoldersize

Posted: Fri Mar 06, 2015 4:55 pm
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?

Re: Check WMI Plus checkfoldersize

Posted: Fri Mar 06, 2015 8:12 pm
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

Re: Check WMI Plus checkfoldersize

Posted: Mon Mar 09, 2015 9:58 am
by clombardo
That did it! Thank you very much! :mrgreen:

Re: Check WMI Plus checkfoldersize

Posted: Mon Mar 09, 2015 10:12 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!