Hello All,
I am having an odd intermittent issue with my check_drivesize command. I am using NSclient++ version 5.2.
Randomly my checks will come back unknown and get the following error:
Filter processing failed: Failed to get size for \\?\Volume{4faf2c15-d531-11de-9881-806e6f6e6963}\: 57: The parameter is incorrect.
This is the command I am using:
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c check_drivesize -a drive=* exclude=M:\\ 'warning=used>92%' 'critical=used>95%'
How do I exclude these volumes? This is a Windows 2012 server VM in VMware. I've read some people say its ghost floppy drives...
Thank you
Ryan
Check_drivesize - Filter processing failed
Re: Check_drivesize - Filter processing failed
You are showing "Filter processing failed" error, but there is no filter in your command. Is this the actual command that you are running?
but you are having issues, you could try using the command below instead:
https://github.com/mickem/nscp/issues/404
According to Michael Medin, you could combine filters with and/or, etc. For example, if you are running a command like this one:This is the command I am using:
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c check_drivesize -a drive=* exclude=M:\\ 'warning=used>92%' 'critical=used>95%'
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c check_drivesize -a drive=* "filter=type in ('fixed', 'remote')" exclude=M:\\ 'warning=used>92%' 'critical=used>95%'Code: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c check_drivesize -a drive=* "filter=type in ('fixed', 'remote') and mounted = 1" exclude=M:\\ 'warning=used>92%' 'critical=used>95%'Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Check_drivesize - Filter processing failed
Hello lmiltchev,
Thank you for your input! I will try the following and provide an update. The link provided is the same exact thing I am experiencing.
Thank you for your input! I will try the following and provide an update. The link provided is the same exact thing I am experiencing.
lmiltchev wrote:You are showing "Filter processing failed" error, but there is no filter in your command. Is this the actual command that you are running?According to Michael Medin, you could combine filters with and/or, etc. For example, if you are running a command like this one:This is the command I am using:
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c check_drivesize -a drive=* exclude=M:\\ 'warning=used>92%' 'critical=used>95%'but you are having issues, you could try using the command below instead:Code: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c check_drivesize -a drive=* "filter=type in ('fixed', 'remote')" exclude=M:\\ 'warning=used>92%' 'critical=used>95%'https://github.com/mickem/nscp/issues/404Code: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c check_drivesize -a drive=* "filter=type in ('fixed', 'remote') and mounted = 1" exclude=M:\\ 'warning=used>92%' 'critical=used>95%'
Re: Check_drivesize - Filter processing failed
Sure, keep us posted.Thank you for your input! I will try the following and provide an update. The link provided is the same exact thing I am experiencing.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Check_drivesize - Filter processing failed
Hello lmiltchev,
This did the trick! Thank you for your help.
This did the trick! Thank you for your help.
[/quote]lmiltchev wrote: but you are having issues, you could try using the command below instead:https://github.com/mickem/nscp/issues/404Code: Select all
/usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c check_drivesize -a drive=* "filter=type in ('fixed', 'remote') and mounted = 1" exclude=M:\\ 'warning=used>92%' 'critical=used>95%'
Re: Check_drivesize - Filter processing failed
I am glad I could help! I will be closing this topic now. If you have any further questions, please start a new thread. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!