Page 1 of 1

Return code 139 is out of Bounds

Posted: Tue Jun 18, 2013 3:36 pm
by CSSI
With my Nagios Server I'm monitoring two windows servers. I'm able to check CPU load memory usage, whether certain services are running etc. But for some reason my disk space check of drive C: is returning an error code 139.

The message I'm receiving is "Return code of 139 is out of bounds" I believe it's an issue on the Nagios server end since it is happening to two different windows servers on two different networks

Currently the check_command in my service definition for the drive space check is

Code: Select all

check_nt!USEDDISKSPACE! -l c -p 5666 -w 80 -c 90 -s MyPassword
I have also changed it to not specify the port, to no avail.

Any ideas?

Thanks in advanced!

Re: Return code 139 is out of Bounds

Posted: Tue Jun 18, 2013 4:17 pm
by abrist
What does your nsclient logs show? Error 139 is most often associated with an invalid password.

Re: Return code 139 is out of Bounds

Posted: Wed Jun 19, 2013 8:43 am
by CSSI
Whenever the check is performed the NSClient log reports
Failed to Establish secure connection: unknown protocol

Re: Return code 139 is out of Bounds

Posted: Wed Jun 19, 2013 12:32 pm
by CSSI
Nevermind. I worked out the issue. It looks like there were things wrong with my check_command definition

Re: Return code 139 is out of Bounds

Posted: Wed Jun 19, 2013 1:10 pm
by lmiltchev
Sounds good! :)