got it, thanks<br><br><div class="gmail_quote">On Fri, Oct 8, 2010 at 4:10 PM, Morris, Patrick <span dir="ltr"><<a href="mailto:patrick.morris@hp.com">patrick.morris@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div><div></div><div class="h5">
On 10/7/2010 2:41 PM, Ilan Berkner wrote:
<blockquote type="cite">newbie question...
<div><br>
</div>
<div>I have a service defined in my services.cfg file that looks
like this:</div>
<div><br>
</div>
<div>define service {</div>
<div>use generic-service</div>
<div>host_name myserver</div>
<div>service_description PING</div>
<div>check_command check_ping!100.0,20%!500.0,60%</div>
<div>}</div>
<div><br>
</div>
<div>in my hosts file have "myserver" defined with an address tag:
<a href="http://www.myserver.com" target="_blank">www.myserver.com</a></div>
<div>
<br>
</div>
<div>when the check_ping command runs, does it check the ping
status against <a href="http://www.myserver.com" target="_blank">www.myserver.com</a> even
though I'm not specifically specifying the host in the
check_ping command?</div>
<br>
</blockquote>
<br></div></div>
The "check_ping" command in your service definition is *not* a
reference to the "check_ping" plugin, it's a reference to the
"check_ping" check command defined somewhere else in your config.
Normally that command will call a plugin (in this case, most likely
check_ping) with some set of arguments, which in most cases include
the address of the host on which the service was defined.<br>
</div>
<br>------------------------------------------------------------------------------<br>
Beautiful is writing same markup. Internet Explorer 9 supports<br>
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.<br>
Spend less time writing and rewriting code and more time creating great<br>
experiences on the web. Be a part of the beta today.<br>
<a href="http://p.sf.net/sfu/beautyoftheweb" target="_blank">http://p.sf.net/sfu/beautyoftheweb</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" target="_blank">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>