<div>Here is what i have in the commands.cfg file </div>
<div> </div>
<div><strong># 'check_ping' command definition<br>define command{<br>        command_name    check_ping<br>        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5<br>        }</strong>
</div>
<div> </div>
<div>this should be workign regardless i mean i dont need a plugin this is a standard check that came with the distribution package  why do i need to install a plugin i dont understand when i dont need to be running fancy commnads.
</div>
<div> </div>
<div>also some one mentioned the resource.cfg file its pointing to the follwing :</div>
<div> </div>
<div><strong># Sets $USER1$ to be the path to the plugins<br>$USER1$=/usr/local/nagios/libexec</strong></div>
<div><strong></strong> </div>
<div><strong>should this last line be tweaked to be like this:</strong></div>
<div><strong><strong>$USER1$=/usr/local/nagios/commands.cfg ---> since the commads are defined here how to do the checks??</strong></strong></div>
<div><strong></strong> </div>
<div>Please help me </div>
<div> </div>
<div>thanks </div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 10/1/07, <b class="gmail_sendername">Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">
nagios-users-bounces@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>> <a href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Nedim Bicic<br>
> Sent: Monday, October 01, 2007 2:24 PM<br>> To: Jim Perrin<br>> Cc: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: Re: [Nagios-users] can not read localhost.cfg
 file that is<br>> cratedwebgui<br>><br>> Is is possible not to run the macros i see ur right dont see the<br>plugin in<br>> the path shown in the resource.cfg<br>><br>> i want to use an existing commands.cfg
 , i dotn want to use no plugin<br>is<br>> this possible or do i still have to install nagios plugin<br>> in order to get local info running again<br><br>I believe you had/have a working nagios that is checking hosts and
<br>services already, correct? What did you change? Are the previous checks<br>you had still working? If so, how are the new service checks different<br>than the working ones? Without seeing your service/command definitions
<br>in question, it sounds like you've got a check_command or command_line<br>wrong.<br><br>--<br>Marc<br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft
<br>Defy all challenges. Microsoft(R) Visual Studio 2005.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>_______________________________________________
<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users
</a><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<br></blockquote></div><br>