<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">on the Nagios server, I didn't see the event handler, "check_users", I only saw a "check_local_users" in the commands.cfg file. Perhaps that's incorrect.<div><br></div><div>But, on the machine that is missing in the host panel, in nrpe.cfg there is this definition defined:</div><div><b>command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10</b></div><div><br></div><div>However, I can only successfully run that above command on the Nagios server:  </div><div><br></div><div><b>bash-3.1# /usr/local/nagios/libexec/check_users -w 5 -c 10</b></div><div><b>USERS OK - 1 users currently logged in |users=1;5;10;0</b></div><div><br></div><div>Sorry for my confusion, am I to run that event handler against the missing host, or on the Nagios server.   It only works from the Nagios server, as that's where the plugins are located.</div><div><br><div><div>On Sep 27, 2010, at 9:11 AM, Assaf Flatto wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div text="#000000" bgcolor="#ffffff">
    On 27/09/10 16:52, Jonathan Wiggins wrote:
    <blockquote cite="mid:D7CE7F8A-A4BD-4199-B47A-57E07B5F2FD2@salon.com" type="cite">any thoughts? I'm still struggling to resolve this..<br>
      <div>
        <div><br>
        </div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <div style="word-wrap: break-word;">HI Assaf.
            <div><br>
            </div>
            <div>Thanks for replying to my email</div>
            <div><br>
            </div>
            <div>this is the output of the command</div>
            <div><br>
            </div>
            <div>
              <div>$ ./check_users -w 5 -c 10</div>
              <div><b>USERS OK - 1 users currently logged in
                  |users=1;5;10;0</b></div>
              <div><br>
              </div>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    did you  run the check with the FULL path as it is specified in the
    nrpe definition ?<br>
    <br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Never,Ever Cut A Deal With a Dragon 


Next year I will be doing the London to Paris bike ride to 
raise money for the DogTrust (<a class="moz-txt-link-abbreviated" href="http://www.dogstrust.co.uk/">www.dogstrust.co.uk</a>) .
Please Sponsor me at <a class="moz-txt-link-freetext" href="http://www.justgiving.com/Assaf-Flatto">http://www.justgiving.com/Assaf-Flatto</a></pre>
  </div>

------------------------------------------------------------------------------<br>Start uncovering the many advantages of virtual appliances<br>and start using them to simplify application deployment and<br>accelerate your shift to cloud computing.<br><a href="http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________">http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________</a><br>Nagios-users mailing list<br>Nagios-users@lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/nagios-users<br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</blockquote></div><br></div></body></html>