[root@xi ~]# /usr/local/nagios/libexec/check_nt -V
check_nt v2.0.3 (nagios-plugins 2.0.3)
COMMAND: /usr/local/nagios/libexec/check_nt -H xyz.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90
OUTPUT: NSClient - ERROR: No performance data from command: check_drivesize
ERROR: Invalid return from command: check_drivesize
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: ERROR: Invalid return from command: check_drivesize
On your Windows server run these commands:
Restart the NSClient++ Service.
Now go and perform the following command test:
After it completes post the results from the nsclient.log file created on the Windows server.
Code: Select all
cd "\Program Files\NSClient++\"
nscp settings --path /settings/log --key level --set debugNow go and perform the following command test:
Code: Select all
/usr/local/nagios/libexec/check_nt -H xyz.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: ERROR: Invalid return from command: check_drivesize
nsclient.log
2016-02-24 11:38:52: error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:123: Certificate not found: C:\Program Files\NSClient++/security/certificate.pem (generating a default certificate)
2016-02-24 11:38:52: error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:123: CA not found: C:\Program Files\NSClient++/security/ca.pem (generating a default CA)
2016-02-24 11:38:52: error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:123: Certificate not found: C:\Program Files\NSClient++/security/certificate.pem (generating a default certificate)
2016-02-24 11:38:52: error:c:\source\master\modules\NRPEServer\NRPEServer.cpp:123: CA not found: C:\Program Files\NSClient++/security/ca.pem (generating a default CA)
Re: ERROR: Invalid return from command: check_drivesize
What is the result from running the command above?
Did @Box293's suggestion make any difference?/usr/local/nagios/libexec/check_nt -H xyz.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90
Former Nagios Employee
Re: ERROR: Invalid return from command: check_drivesize
[root@irv-XI ~]# cd /usr/local/nagios/libexec
[root@irv-XI libexec]# ./check_nt -H xyz.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90
NSClient - ERROR: No performance data from command: check_drivesize
[root@irv-XI libexec]# ./check_nt -H xyz.net -s "" -p 12489 -v USEDDISKSPACE -l W -w 85 -c 90
NSClient - ERROR: No performance data from command: check_drivesize
Last edited by jyoti22 on Wed Feb 24, 2016 5:53 pm, edited 1 time in total.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: ERROR: Invalid return from command: check_drivesize
Can you open Computer Management and go to Storage > Disk Management
Can you share a screenshot of the W drive.
I've done some tests here and that error seems to occur when the disk doesn't exist.
Can you confirm that irv-ctxapp65-03.epicor.net is resolving to the correct IP address of the server being monitored.
Can you share a screenshot of the W drive.
I've done some tests here and that error seems to occur when the disk doesn't exist.
Can you confirm that irv-ctxapp65-03.epicor.net is resolving to the correct IP address of the server being monitored.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.