return code of 139 is out 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
mactuan12
Posts: 2
Joined: Fri Jan 10, 2020 3:04 am

return code of 139 is out bounds

Post by mactuan12 »

I'm trying to add another drive to my nagios monitoring system (with CHECK_NT).
Currently monitors only the drive c: and on a windows server, it works great but once I add more drives (that exist on the same server) I get this error - "Return code of 139 is out of bounds"
I tried to run manually I is getting this error "Segmentation fault"

[root@srv libexec]# ./check_nt -H 192.168.10.1 -p 12489 -s test$ -v USEDDISKSPACE -l c -w 80 -c 50
c:\ - total: 37.27 Gb - used: 25.41 Gb (68%) - free 11.85 Gb (32%) | 'c:\ Used Space'=25.41Gb;29.81;18.63;0.00;37.27

[root@srv libexec]# ./check_nt -H 192.168.10.1 -p 12489 -s test$ -v USEDDISKSPACE -l e -w 80 -c 50
Segmentation fault
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: return code of 139 is out bounds

Post by tacolover101 »

it looks like the plugin is crashing for some reason.

a couple things:
1. are you noticing any logs on the client side when this runs for E drive?
2. have you restarted the nsclient agent after adding additional drives?
3. what version of check_nt are you running? it may be worth upgrading - see this thread for reference: https://support.nagios.com/forum/viewto ... 484#p88190
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: return code of 139 is out bounds

Post by scottwilkerson »

Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked