[icinga-users] monitor just a service not host

Sven Heinemann mail at svenheinemann.com
Fri Aug 5 11:52:36 CEST 2011


Hi,

try do define a dummy command like this

    define command{
       command_name     host-always-ok
       command_line     /bin/true
    }

and add this as host check command to your 'owa' host. Then the host 
will always be up. :)

Regards,
sven

On Fri, 5 Aug 2011 11:43:43 +0200, Sebastian Logar wrote:
> 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
> }
>     





More information about the icinga-users mailing list