I've wrote a customs script that checks the load on a Citrix server. When i use NC_Net to run the script, everything goes well, but sometimes i get a 'Return code of 139 is out of bounds' in Nagios.
When i look in the messages file on the Linux server, this is what i get: 'kernel: [3068394.698567] check_nc_net[8649]: segfault at 00000000 eip b7ecc283 esp bfa337ec error 4'
I've enabled also the logging on windows and this is the result:
Hi,
I've wrote a customs script that checks the load on a Citrix server. When i use NC_Net to run the script, everything goes well, but sometimes i get a 'Return code of 139 is out of bounds' in Nagios.
When i look in the messages file on the Linux server, this is what i get: 'kernel: [3068394.698567] check_nc_net[8649]: segfault at 00000000 eip b7ecc283 esp bfa337ec error 4'
I've enabled also the logging on windows and this is the result:
Input:
101& CitrixWatch_Nagios.exe 6000 8000 inf70
output:
0&
Normaly the output is something like: 'OK - Load is 2400 (Configured values: warning=6000 critical=8000)'
Does anybody has a clue?
Config info:
Nagios 2.11
Ubuntu server 8.04 - kernel 2.6.24-16-server
check_nc_net v4.03 (nagios-plugins 1.4.11)
Windows client: NC_Net 4.1a 03/30/07
Thanks!
Tim
hi TIm,
Use the RUNSCRIPT_S command. it takes the same syntex as the RUNSCRIPT however it runs the script Sync verses Async.
I thought this was documented in Check_nc_net's help that RUNSCRIPT_S usually works when RUNSCRIPT has issues.
Please report back here if this solves your issues.
TOny