checkvolsize WMI error - Return code of 255 is out of bounds
Posted: Tue Dec 09, 2014 11:11 pm
Hi,
I have a windows server monitoring through WMI. I am trying to monitor volumes created on it, using checkvolsize uisng check_wmi_plus.pl and I am able to get response on command line.
But on XI web interface, it is showing me error 'Return code of 255 is out of bounds', not sure what causing the error and rest of the monitoring is working fine using WMI on this box.
Command line response:
COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H hostname.com -u 'domain/username' -p '*******' -m checkvolsize -a '\?\\Volume\{f4967789-3099-11f3-8768-9abdnhm4m\}' -w '80' -c '95'
OUTPUT: WARNING - [Triggered by _Used%>80] - N:\Log01\ Total=25.00GB, Used=21.58GB (86.3%), Free=3.42GB (13.7%) |'N:\Log01\ Space'=21.58GB; 'N:\Log01\ Utilisation'=86.3%;80;95;
COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H hostname.com -u 'domain/username' -p '*******' -m checkvolsize -a 'N:\Log01\' -w '80' -c '95'
OUTPUT: WARNING - [Triggered by _Used%>80] - N:\Log01\ Total=25.00GB, Used=21.58GB (86.3%), Free=3.42GB (13.7%) |'N:\Log01\ Space'=21.58GB; 'N:\Log01\ Utilisation'=86.3%;80;95;
XI web interface response: (Return code of 255 is out of bounds)
Any suggestions how to rectify this? Your help in this regard is much appreciated. Thank you in advance.
I have a windows server monitoring through WMI. I am trying to monitor volumes created on it, using checkvolsize uisng check_wmi_plus.pl and I am able to get response on command line.
But on XI web interface, it is showing me error 'Return code of 255 is out of bounds', not sure what causing the error and rest of the monitoring is working fine using WMI on this box.
Command line response:
COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H hostname.com -u 'domain/username' -p '*******' -m checkvolsize -a '\?\\Volume\{f4967789-3099-11f3-8768-9abdnhm4m\}' -w '80' -c '95'
OUTPUT: WARNING - [Triggered by _Used%>80] - N:\Log01\ Total=25.00GB, Used=21.58GB (86.3%), Free=3.42GB (13.7%) |'N:\Log01\ Space'=21.58GB; 'N:\Log01\ Utilisation'=86.3%;80;95;
COMMAND: /usr/local/nagios/libexec/check_wmi_plus.pl -H hostname.com -u 'domain/username' -p '*******' -m checkvolsize -a 'N:\Log01\' -w '80' -c '95'
OUTPUT: WARNING - [Triggered by _Used%>80] - N:\Log01\ Total=25.00GB, Used=21.58GB (86.3%), Free=3.42GB (13.7%) |'N:\Log01\ Space'=21.58GB; 'N:\Log01\ Utilisation'=86.3%;80;95;
XI web interface response: (Return code of 255 is out of bounds)
Any suggestions how to rectify this? Your help in this regard is much appreciated. Thank you in advance.