<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>I'm not using this script, but you may run it using:</p>
    <p> bash -x  $XYMONCLIENTHOME/ext/mq.sh queuemanagername</p>
    <p>replace $XYMONCLIENTHOME with the correct path.</p>
    <p>Bash will generate output debug info, so you may see what it is
      doing.</p>
    <p>Also, you may check if the log destination is hardcoded in the
      script.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 27/07/2020 à 16:39, Neil Simmonds a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHWpit=MZ5HaYsKUYhb_+NMNPg=96KPBQGC6o82Zy8QE=4uC+g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">Hi all, I'm seeing some really strange
                behaviour from the MQ.SH script/ 
                <div><br>
                </div>
                <div>We have the standard mq.sh script that comes with
                  Xymon and we have it setup in
                  /xymon/client/etc/clientlaunch.cfg as follows </div>
                <div><br>
                </div>
                <div>
                  <div>[mq]</div>
                  <div>        ENVFILE
                    $XYMONCLIENTHOME/etc/xymonclient.cfg</div>
                  <div>        CMD $XYMONCLIENTHOME/ext/mq.sh
                    queuemanagername</div>
                  <div>        LOGFILE
                    $XYMONCLIENTLOGS/xymonmq2client.log</div>
                  <div>        INTERVAL 1m</div>
                </div>
                <div><br>
                </div>
                <div>The behaviour that we are seeing is that,as
                  expected MQ.SH writes nothing in the way of errors
                  into xymonmq2client.log but what it does write into
                  there is the contents of
                  /xymon/client/tmp/logfetch.hostname.cfg </div>
                <div><br>
                </div>
                <div>(i.e.</div>
                <div>
                  <div>log:/applogs/broker/broker.log:20480</div>
                  <div>ignore MARK</div>
                </div>
                <div>)</div>
                <div><br>
                </div>
                <div>I'm at a loss to explain this so am reaching out to
                  the list to see if anyone has come across this  </div>
                <div><br>
                </div>
                <div>Regards,</div>
                <div>Neil.</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
    </blockquote>
  </body>
</html>