(Return code of 139 is out of bounds)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dhinesh
Posts: 15
Joined: Tue Nov 12, 2013 4:58 am

(Return code of 139 is out of bounds)

Post by dhinesh »

Hi,
I'm getting the error (Return code of 139 is out of bounds), while checking some drives in Windows through NSCLinet in Nagios XI.
But when I test the command through CCM->Service->Test Check Command it works fine.

Return code.jpg
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: (Return code of 139 is out of bounds)

Post by sreinhardt »

Most likely this is due to a temporary file being created in /tmp from check_nt as the apache user and group. Then when nagios attempts to update\read the same file, it is not allowed permission. I would suggest moving\removing files in /tmp that appear to have randomly created names, and allowing nagios to begin checking again.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
dhinesh
Posts: 15
Joined: Tue Nov 12, 2013 4:58 am

Re: (Return code of 139 is out of bounds)

Post by dhinesh »

Thanks for your reply sreinhardt.
I just figured the IP associated with the host was changed., which caused the problem. Now it s been resolved.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: (Return code of 139 is out of bounds)

Post by tmcdonald »

Glad to hear it's working again.

I will be locking this thread now, but feel free to open another if you have further issues in the future.
Former Nagios employee
Locked