<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 13/10/10 00:04, Jonathan Wiggins wrote:
    <blockquote
      cite="mid:2199D0D6-4B20-44E6-A4AE-288061F865BC@salon.com"
      type="cite"><b><snip></b></blockquote>
    <br>
    the place to look is in the nrpe init script , usually found in the
    /etc/init.d directory<br>
    <br>
    you are looking for the NrpeCfg parameter .<br>
    <br>
    Make sure to point it to the nrpe.cfg file you found.<br>
    <br>
    Assaf<br>
    <blockquote
      cite="mid:2199D0D6-4B20-44E6-A4AE-288061F865BC@salon.com"
      type="cite">but then I see this also in the logs
      <div><b>
          <div><br>
          </div>
        </b></div>
      <div>nrpe[11817]: Unable to open config file
        '/usr/local/nagios/etc/nrpe.cfg' for reading</div>
      <div><br>
      </div>
      <div>when I do a "locate nrpe.cfg", its only found in one
        location:  /etc/nagios/nrpe.cfg   --- looking at that file
        below- looks normal to me, and where is the application pulling
        this other nrpe.cfg location from, and how to change it? ((Or
        does that really not matter in this issue - seems like it would
        - and I need to focus elsewhere>?))</div>
      <div><br>
      </div>
      <div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>log_facility=daemon</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>pid_file=/var/run/nrpe/nrpe.pid</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>server_port=5666</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>#server_address=127.0.0.1</div>
        <div><br>
        </div>
        <div> </div>
      </div>
      <div>
        <div>nrpe_user=nagios</div>
        <div><br>
        </div>
        <div>nrpe_group=nagios  </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>allowed_hosts=127.0.0.1,10.0.100.130</div>
        <div><br>
        </div>
        <div>dont_blame_nrpe=0</div>
      </div>
      <div><br>
      </div>
      <div>
        <div># command_prefix=/usr/bin/sudo</div>
        <div><br>
        </div>
        <div>  </div>
        <div>debug=0 --> 1</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>command_timeout=60</div>
        <div><br>
        </div>
      </div>
      <div>connection_timeout=300</div>
      <div><br>
      </div>
      <div>
        <div><br>
        </div>
        <div>#allow_weak_random_seed=1</div>
        <div> </div>
        <div>#include=<somefile.cfg></div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>include_dir=/etc/nrpe.d/</div>
      </div>
      <br>
    </blockquote>
    <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>
  </body>
</html>