<BODY><P></P>
<P><B></B> </P>
<P>I cant find any called command.cfg but one called checkcommands.cfg</P>
<P>I cant really find any pointer to what command nagios really does, but here is what I found in checkcommands.cfg</P>
<P># 'check-host-alive' command definition<BR>define command{<BR>command_name   check-host-alive<BR>command_line   $USER1$/check_ping -H $HOSTADRESS -w 3000. 0, 80% -c 5000. 0, 100% -p 1<BR>}</P>
<P>So I am not sure where I can find the command that nagios really is running.<BR>I should mention that I havent installed any plugins or add-on's yet, this is right from distributed .tar.gz</P>
<P>Maybe I am missing something ?<BR><BR>The check_ping definition in checkcommands.cfg looks like this:</P>
<P># 'check_ping' command definition<BR>define command{<BR>command_name   check_ping<BR>command_line    $USER1$/check_ping -H $HOSTADRESS -w $ARG1$ -c $ARG2$ -p 5</P>
<P> </P>
<P>Mvh</P>
<P> </P>
<P>Kjell Grindalen</P>
<P><B></B> </P>
<P><B></B> </P>
<P><B>----- Original Message -----</B></P>
<P></P><B>From</B>: Matthew Wilson <matthewwilson@dsl.pipex.com>
<P></P><B>Date</B>: Tuesday, October 14, 2003 2:22 pm
<P></P><B>Subject</B>: Re: [Nagios-users] Problems with check_alive
<P></P>
<P></P>> Hi, <BR>> Have a look at you commands.cfg and check the command definiton for <BR>> check_ping / check_host_alive and try running it from the command <BR>> line. <BR>> If it doesn't work, post the full command definition and we can <BR>> take a <BR>> look. <BR>> <BR>> Matthew Wilson <BR>> DC-Sat.net <BR>> <BR>> On Tue, 2003-10-14 at 12:42, grik@student.no wrote: <BR>> > Hello! <BR>> > <BR>> > <BR>> > <BR>> > I have a small problem with the check alive standard check service <BR>> > <BR>> > <BR>> > <BR>> > In my nagios.log I get the following: <BR>> > <BR>> > SERVICE ALERT: hostname; PING;WARNING;HARD;3; (No output!) <BR>> > <BR>> > For all the hosts <BR>> > <BR>> > I searched a little, but couldnt find anything matching my problem. <BR>> > <BR>> > The nagios server is running on a Solaris 9 server, and I have 6 <BR>
> other> Solaris servers that I am watching with Nagios. I was <BR>> thinking that <BR>> > this had something to do with statistics about the icmp packet and <BR>> > tried to add a -v to the check-host-alive command like this: <BR>> > $USER1/check_ping -v -H $HOSTNAME -w etc... <BR>> > This didnt help, so maybe it has nothing to do with the Solaris <BR>> > implementation of ping..? <BR>> > <BR>> > <BR>> > Any advice for a newbie at Nagios ? <BR>> > <BR>> > ------------------------------------------------------- This SF.net <BR>> > email is sponsored by: SF.net Giveback Program. SourceForge.net <BR>> hosts> over 70,000 Open Source Projects. See the people who have <BR>> HELPED US <BR>> > provide better services: Click here: <BR>> > http://sourceforge.net/supporters.php <BR>> > _______________________________________________ Nagios-users mailing <BR>
> > list Nagios-users@lists.sourceforge.net <BR>> > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please <BR>> > include Nagios version, plugin version (-v) and OS when <BR>> reporting any <BR>> > issue. ::: Messages without supporting info will risk being sent to <BR>> > /dev/null <BR>> <BR>> </BODY>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null