Return code 139 is out of Bounds

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
CSSI
Posts: 20
Joined: Fri Jun 07, 2013 3:15 pm

Return code 139 is out of Bounds

Post 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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Return code 139 is out of Bounds

Post by abrist »

What does your nsclient logs show? Error 139 is most often associated with an invalid password.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
CSSI
Posts: 20
Joined: Fri Jun 07, 2013 3:15 pm

Re: Return code 139 is out of Bounds

Post by CSSI »

Whenever the check is performed the NSClient log reports
Failed to Establish secure connection: unknown protocol
CSSI
Posts: 20
Joined: Fri Jun 07, 2013 3:15 pm

Re: Return code 139 is out of Bounds

Post by CSSI »

Nevermind. I worked out the issue. It looks like there were things wrong with my check_command definition
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Return code 139 is out of Bounds

Post by lmiltchev »

Sounds good! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked