[icinga-users] monitor just a service not host

Sebastian Logar sebastian.logar at gmail.com
Fri Aug 5 13:41:51 CEST 2011


thank you both! it works like a charm!.



On Fri, Aug 5, 2011 at 11:52 AM, Sven Heinemann <mail at svenheinemann.com>wrote:

> 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
> > }
> >
>
>
>
> ------------------------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20110805/9db2043f/attachment-0001.html>


More information about the icinga-users mailing list