[icinga-users] monitor just a service not host

Massimo Forni forni.massimo at gmail.com
Fri Aug 5 15:31:58 CEST 2011

 from http://docs.icinga.org/latest/en/objectdefinitions.html#id1319474
This directive is used to specify the short name of the command that
should be used to check if the host is up or down. Typically, this
command would try and ping the host to see if it is "alive". The
command must return a status of OK (0) or Icinga will assume the host
is down. If you leave this argument blank, the host will not be
actively checked

PS: remeber if you do not want to check the status of the host, you
must still set max_check_attempts to a minimum value of 1


2011/8/5 Sebastian Logar <sebastian.logar at gmail.com>:
> Hi,
> I am trying to setup monitoring of remote service but Icinga is trying to
> ping host also. I don't want for icinga to check host if it's alive i just
> want to check service owacheck. Thank you in adanced for any pointers on how
> to set up this.
> Regards,
> Sebastian
> my definition for host:
> define host {
>     use generic-host
>     host_name   owa
>     alias   Outlook owa
>     address ipv4
>     max_check_attempts  10
>     contact_groups  system
> }
> define service{
>     use                     generic-service
>     host_name               owa
>     service_description     owacheck
>     check_command           check_owa
>     contact_groups          system
> }
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users

More information about the icinga-users mailing list