check_ping service question

Ilan Berkner iberkner at gmail.com
Sat Oct 9 00:16:56 CEST 2010


got it, thanks

On Fri, Oct 8, 2010 at 4:10 PM, Morris, Patrick <patrick.morris at hp.com>wrote:

>  On 10/7/2010 2:41 PM, Ilan Berkner wrote:
>
> newbie question...
>
>  I have a service defined in my services.cfg file that looks like this:
>
>  define service {
> use generic-service
> host_name myserver
> service_description PING
> check_command check_ping!100.0,20%!500.0,60%
> }
>
>  in my hosts file have "myserver" defined with an address tag:
> www.myserver.com
>
>  when the check_ping command runs, does it check the ping status against
> www.myserver.com even though I'm not specifically specifying the host in
> the check_ping command?
>
>
> 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.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101008/5cb7a55d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list