The plugins are located in the libexec directory but they need to be defined to be used in nagios and it is done in the checkcommands.cfg file and also in the miscommands.cfg file. As you said those file are refernced in nagios.cfg
.<br>So you should copy the source template checkcommands.cfg and miscommands.cfg file to nagios/etc/<br><br><div><span class="gmail_quote">2006/3/14, Brunker, Jay <<a href="mailto:Jay.Brunker@twc.state.tx.us">Jay.Brunker@twc.state.tx.us
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<br>

<p><font face="Arial" size="2">Greetings:</font>
</p>
<br>

<p><font face="Arial" size="2">YANNG ( Yet Another Nagios Newbie Question ).</font>
</p>

<p><font face="Arial" size="2">OK, so my 'make install-commandmode' failed and I manually</font>
<br><font face="Arial" size="2">created a '/usr/local/nagios/etc' filesystem. I copied from</font>
<br><font face="Arial" size="2">source/sample-config to '/usr/local/nagios/etc'.</font>
</p>

<p><font face="Arial" size="2">Downloaded and installed the plugins.</font>
</p>

<p><font face="Arial" size="2">The thing is ... the plugins install message says to verify</font>
<br><font face="Arial" size="2">that my nagios.cfg file ( hosts.cfg ) file is correct with regards</font>
<br><font face="Arial" size="2">to my plugin directory.</font>
</p>

<p><font face="Arial" size="2">OK, so ... I'm assuming that the 'nagios.cfg' file is referring</font>
<br><font face="Arial" size="2">to the 'Plugins' section with: cfg_file=/usr/local/nagios/etc/checkcommands.cfg line.</font>
</p>

<p><font face="Arial" size="2">I'm confused. I don't have a '/usr/local/nagios/etc/checkcommands.cfg file in my</font>
<br><font face="Arial" size="2">'/usr/local/nagios/etc' directory. I do have the file in my 'source/template-object' directory</font>
<br><font face="Arial" size="2">though.</font>
</p>

<p><font face="Arial" size="2">Aren't the plugins in '/usr/local/nagios/libexec' ?</font>
</p>

<p><font face="Arial" size="2">Some help/clarification would be most appreciated here.</font>
</p>
<br>
<br>

<p><font face="Arial" size="2">Thanks,</font>
</p>
<br>

<p><font face="Arial" size="2">JZB</font>
</p><span class="sg">

<p><font face="Tahoma" size="2">Jay Brunker</font>
<br><font face="Tahoma" size="2">Unix Systems Administrator</font>
<br><font face="Tahoma" size="2">Texas Workforce Commission</font>
<br><font face="Tahoma" size="2">101 E. 15th St.</font>
<br><font face="Tahoma" size="2">512-475-2625    Desk Phone</font>
<br><font face="Tahoma" size="2">512-849-4985    Pager</font>
</p>
<br>



</span></blockquote></div><br><br clear="all"><br>-- <br>Le bon sens est la chose du monde la mieux partagée.