<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<pre wrap="">Is the definition of template 'some-host-tmpl' not contain a check_command like check_host_alive?
If it's the case, you can look your command.cfg file and verify if a command using ping isn't definied.
</pre>
<br>
<br>
Ling Zhang wrote:<br>
<blockquote type="cite"
cite="mid02ac01c46865$c74c79c0$b5030380@gigattcp">
<pre wrap="">Nope. I did not define a universal ping service and the grep didn't
return with any surprises.
Ling
-----Original Message-----
From: Jeff Rodriguez [<a class="moz-txt-link-freetext" href="mailto:nagios-users@gurugeek.com">mailto:nagios-users@gurugeek.com</a>]
Sent: Monday, July 12, 2004 3:56 PM
To: Ling Zhang
Subject: Re: [Nagios-users] why the Ping service is still being checked?
A ping /service/ does not exist by default. I'm guessing you created one
with a host_name of * which will ping everything.
grep -i ping services.cfg
Any output?
Jeff
Ling Zhang wrote:
</pre>
<blockquote type="cite">
<pre wrap="">No "ping" service was defined for that server. I am very sure about
that. It almost looks like the Ping service is checked by default,
unless I turned it off some where.
Ling
-----Original Message-----
From: Jeff Rodriguez [<a class="moz-txt-link-freetext" href="mailto:nagios-users@gurugeek.com">mailto:nagios-users@gurugeek.com</a>]
Sent: Monday, July 12, 2004 2:43 PM
To: Ling Zhang
Subject: Re: [Nagios-users] why the Ping service is still being
</pre>
</blockquote>
<pre wrap=""><!---->checked?
</pre>
<blockquote type="cite">
<pre wrap="">You've probably created a "ping" service. Search your services.cfg for
</pre>
</blockquote>
<pre wrap=""><!---->a
</pre>
<blockquote type="cite">
<pre wrap="">service
named "ping"
Jeff
Ling Zhang wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi, there,
I have configured Nagios to monitor the HTTP service on a server that
does not respond to Pings. To avoid letting nagios assuming the server
host is down, I specified nagios to check host status with a
</pre>
</blockquote>
<pre wrap="">check-dummy
</pre>
<blockquote type="cite">
<pre wrap="">command, which will always return with an "UP" status. However,
</pre>
</blockquote>
<pre wrap="">although
</pre>
<blockquote type="cite">
<pre wrap="">never defined anywhere in my configuration files, nagios kept checking
the "PING" service on that server and reported "ping service" down,
</pre>
</blockquote>
<pre wrap="">even
</pre>
<blockquote type="cite">
<pre wrap="">the host status is "UP" and the HTTP service on that server is "OK".
Here is the host definition and service definition of that specific
server:
################ host definition######################
define host {
use some-host-tmpl
host_name server.abcd.com
alias server.abcd.com
address 1.2.3.4
check_command check-dummy ;always return
"up"
parents parent.abcd.com
}
################ service Definition ##################
define service {
use default-service
host_name server.abcd.com
service_description HTTP
check_command check_HTTP
}
So, any idea why is that?
Thanks.
Ling
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit <a class="moz-txt-link-abbreviated" href="http://www.blackhat.com">www.blackhat.com</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when
</pre>
</blockquote>
<pre wrap="">reporting any issue.
</pre>
<blockquote type="cite">
<pre wrap="">::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap=""><!---->
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit <a class="moz-txt-link-abbreviated" href="http://www.blackhat.com">www.blackhat.com</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
**********************************
VERDON Carole
Ingénieur Système
CICT - Université Paul Sabatier
118, route de Narbonne
31062 Toulouse Cedex
Tél.: 05.61.36.60.44
Fax: 05.61.52.14.58
Mail: <a class="moz-txt-link-abbreviated" href="mailto:verdon@cict.fr">verdon@cict.fr</a>
**********************************
</pre>
</body>
</html>