Page 1 of 1

return code of 139 is out bounds

Posted: Fri Jan 10, 2020 3:06 am
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

Re: return code of 139 is out bounds

Posted: Fri Jan 10, 2020 1:37 pm
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

Re: return code of 139 is out bounds

Posted: Mon Jan 13, 2020 9:28 am
by scottwilkerson