Menu

RUNSCRIPT problem with passive checks

Help
2008-04-24
2013-04-25
  • David Jacobson

    David Jacobson - 2008-04-24

    Hi Tony,

    I have been testing the RUNSCRIPT functionality with submitting the results back passively and have some issues.

    I have tried the example test.bat script in the scripts/ directory

    101     test    -l      test.bat

    This submitted the following results into Nagios:

    0&C:\Program Files\Montitech\NC_Net\script>dir

    surely it should not display the command executed but the actual directory listing?

    Further to this, I have created an exe which gets called with -w and -c

    When testing it I get the following output:

    0;-532459699&

    When it returns via the command line : "Messages in queue : $number"

    So, just for fun I tried to wrap it around a batch script and got

    0&C:\Program Files\Montitech\NC_Net\script>"C:\Program Files\NandosPoSEmita\EmitaStatsUtil.exe" -w 5 -c 20

    which I find quite strange...

    Any assistance would be appreciated.

    Thanks,
    David

     
    • Rudolf

      Rudolf - 2008-04-25

      hi

      just look a few postings further down ;-)

      exactly here http://sourceforge.net/forum/forum.php?thread_id=1794718&forum_id=540979

      this problem is defenitly fix in the new version coming this month or next month,
      depends on how fast tony get everything testet.

      greetings
      rudolf

       

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.