I’m using nagios v. 3.0rc1 and nsclient++ 0.3.0.1 rc and am receiving an error on one of my hosts. When running check_nt!USEDDISKSPACE !-l d -w 80 -c 90 nagios web interface shows "Return code of 139 is out of bounds ". however, the c: drive space shows up correctly.
I’ve tried manually running the commands from the command line:
[nagios@host libexec]$ pwd
[nagios@host libexec]$ ./check_nt -H -p 12489 -s -v USEDDISKSPACE -l c -w 80 -c 90
c:\ - total: 12.00 Gb - used: 7.43 Gb (62%) - free 4.57 Gb (38%) | ‘c:\ Used space’=7.43Gb;9.60;10.80;0.00;12.00
[nagios@host libexec]$ ./check_nt -H -p 12489 -s -v USEDDISKSPACE -l d -w 80 -c 90
d:\ - total: 56.20 Gb - used: 34.26 Gb (61%) - free 21.93 Gb (39%) | ‘d:\ Used Space’=34.26Gb;44.96;50.58;0.00;56.20
both return valid info from what I can see, but when nagios performs the check i am returned the error listed above. Can anyone explain what may be happening? D: is a valid second drive on the system as you can see above.
Thanks for any help you can give,