ERROR: Invalid return from command: check_drivesize
ERROR: Invalid return from command: check_drivesize
Hi Team,
On few of the Windows boxes I am getting below error for W: Drive monitoring. However C: Drive monitoring working fine. W: drive is present on these servers. Please Help.
COMMAND: /usr/local/nagios/libexec/check_nt -H irv-xxx-03.abc.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90
OUTPUT: NSClient - ERROR: Invalid return from command: check_drivesize
COMMAND: /usr/local/nagios/libexec/check_nt -H irv-xxx-03.abc.net -s "" -p 12489 -v USEDDISKSPACE -l C -w 85 -c 90
OUTPUT: C:\ - total: 114.90 Gb - used: 63.80 Gb (56%) - free 51.10 Gb (44%) | 'C:\ Used Space'=63.80Gb;97.66;103.41;0.00;114.90
On few of the Windows boxes I am getting below error for W: Drive monitoring. However C: Drive monitoring working fine. W: drive is present on these servers. Please Help.
COMMAND: /usr/local/nagios/libexec/check_nt -H irv-xxx-03.abc.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90
OUTPUT: NSClient - ERROR: Invalid return from command: check_drivesize
COMMAND: /usr/local/nagios/libexec/check_nt -H irv-xxx-03.abc.net -s "" -p 12489 -v USEDDISKSPACE -l C -w 85 -c 90
OUTPUT: C:\ - total: 114.90 Gb - used: 63.80 Gb (56%) - free 51.10 Gb (44%) | 'C:\ Used Space'=63.80Gb;97.66;103.41;0.00;114.90
Re: ERROR: Invalid return from command: check_drivesize
What is the NSClient++ version that you are currently using?
How large is drive W:? Is this a network drive?
Code: Select all
/usr/local/nagios/libexec/check_nt -H <client ip> -s "password" -p 12489 -v CLIENTVERSIONBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: ERROR: Invalid return from command: check_drivesize
Nagios agent version is 0.4.3.143. W: drive is not network drive and have same size as of C: drive (120GB)
Re: ERROR: Invalid return from command: check_drivesize
Are the permissions on C and W the same?
Former Nagios Employee.
me.
me.
Re: ERROR: Invalid return from command: check_drivesize
This seems like a bug in NSClient++. Check out this issue I created. It was solved in 0.5.0.17.
https://github.com/mickem/nscp/issues/202
Could you try the latest NSClient version, which is 0.5.0.22 and test if the issue is solved?
https://github.com/mickem/nscp/releases/tag/0.5.0.22
Grtz
https://github.com/mickem/nscp/issues/202
Could you try the latest NSClient version, which is 0.5.0.22 and test if the issue is solved?
https://github.com/mickem/nscp/releases/tag/0.5.0.22
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: ERROR: Invalid return from command: check_drivesize
jyoti22, have you tried upgrading NSClient++ as suggested by WillemDH? Did this resolve the issue?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: ERROR: Invalid return from command: check_drivesize
Thanks. I'll upgrade the version and keep you posted on update.
Re: ERROR: Invalid return from command: check_drivesize
Sounds good, let us know the result.
Former Nagios Employee
Re: ERROR: Invalid return from command: check_drivesize
Upgraded agent to version 0.5.0.22. However still same error on W: drive monitoring.
Re: ERROR: Invalid return from command: check_drivesize
Can you post the full input / output once again on this new version? I'd like to see if anything changed.
Also, what version of check_nt are you running?
Also, what version of check_nt are you running?
Code: Select all
/usr/local/nagios/libexec/check_nt -V
Former Nagios Employee