Menu

Segfault on custom script test

Help
Talder
2008-06-26
2013-04-25
  • Talder

    Talder - 2008-06-26

    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

     
    • tony

      tony - 2008-06-27

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.