<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote
cite="mid:CAN9qwJ83=+GongjLZ6f_SYHi7P4OwogQaiB5AJg9hG68BfK-DQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">The script itself doesn't have SSH commands to my
        knowledge.  The one SSH command is in hosts.cfg and that's just
        to pull named.stats.</div>
    </blockquote>
    Correct. The script takes the command as specified, replaces the the
    substitutable parameters by their values, executes the resulting
    command and catches the resulting standard output.<br>
    <br>
    <blockquote
cite="mid:CAN9qwJ83=+GongjLZ6f_SYHi7P4OwogQaiB5AJg9hG68BfK-DQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>I did test this in (Xymon user)'s shell, it worked as
          expected.  I could also grab the named.stats file.</div>
      </div>
    </blockquote>
    So, manually it works but when invoked from the script it does not?
    Are there any messages in the logfile?<br>
    <br>
    Regards,<br>
      Wim Nelis.<br>
    <br>
    <br>
    <blockquote
cite="mid:CAN9qwJ83=+GongjLZ6f_SYHi7P4OwogQaiB5AJg9hG68BfK-DQ@mail.gmail.com"
      type="cite">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Sep 21, 2016 at 4:41 PM,
          William Pechter <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:pechter@gmail.com" target="_blank">pechter@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Josh
            Luthman wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">
                <a moz-do-not-send="true"
                  href="https://wiki.xymonton.org/doku.php/monitors:retds"
                  rel="noreferrer" target="_blank">https://wiki.xymonton.org/doku<wbr>.php/monitors:retds</a><br>
                <br>
                Has anyone installed this recently?  I went through the
                instructions but I think my first snag is the lack of
                SSH to grab the named.stats file.  Watching tcpdump on
                the client I get no 22/tcp traffic from the Xymon
                server.<br>
                <br>
                My host entry (IP host and user changed):<br>
              </span>
              192.168.1.100 <a moz-do-not-send="true"
                href="http://foobar.imaginenetworksllc.com"
                rel="noreferrer" target="_blank">foobar.imaginenetworksllc.com</a>
              <<a moz-do-not-send="true"
                href="http://foobar.imaginenetworksllc.com"
                rel="noreferrer" target="_blank">http://foobar.imaginenetworks<wbr>llc.com</a>>
              # dns RNAMED:"cmd(ssh -T username@%{H}
              2>/dev/null),statsfile(named.s<wbr>tats)"
              TRENDS:*,bindstats<span class=""><br>
                <br>
                I do have an SSH trust but it's not getting that far,
                Xymon isn't attempting to SSH at all.<br>
                <br>
                Josh Luthman<br>
                Office: <a moz-do-not-send="true"
                  href="tel:937-552-2340" value="+19375522340"
                  target="_blank">937-552-2340</a><br>
                Direct: <a moz-do-not-send="true"
                  href="tel:937-552-2343" value="+19375522343"
                  target="_blank">937-552-2343</a><br>
                1100 Wayne St<br>
                Suite 1337<br>
                Troy, OH 45373<br>
                <br>
                <br>
              </span>
              ______________________________<wbr>_________________<br>
              Xymon mailing list<br>
              <a moz-do-not-send="true" href="mailto:Xymon@xymon.com"
                target="_blank">Xymon@xymon.com</a><br>
              <a moz-do-not-send="true"
                href="http://lists.xymon.com/mailman/listinfo/xymon"
                rel="noreferrer" target="_blank">http://lists.xymon.com/mailman<wbr>/listinfo/xymon</a><br>
            </blockquote>
            <br>
            First thought is to try to do the ssh command in the scripts
            manually as the Xymon user and see if it's wanting to update
            the known_hosts or<br>
            waiting for someone to accept the remote key... etc.<br>
            <br>
            I know it's kind of an obvious thing and you might have
            checked it but I've seen fun with ssh scripts like that
            which timeout waiting for user intervention.<br>
            After a manual run it's good to go for the rest of the life
            or until modified.<br>
            <br>
            Bill<span class="HOEnZb"><font color="#888888"><br>
                <br>
                -- <br>
                Digital had it then. Don't you wish you could buy it
                now! <a moz-do-not-send="true"
                  href="http://pechter-at-gmail.com" rel="noreferrer"
                  target="_blank">pechter-at-gmail.com</a> <a
                  moz-do-not-send="true" href="http://xkcd.com/705/"
                  rel="noreferrer" target="_blank">http://xkcd.com/705/</a><br>
              </font></span></blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  
<DIV><P><HR>
<br><br><br>
<hr>
<font color="#00467f" size="2"><i><span lang="EN-US">The NLR disclaimer is valid for NLR e-mail messages.</span></i> 
<p>This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of the sender.</p>
<p>This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.<br></p></font>
<hr>
</P></DIV>
</body>
</html>