Services are dependent on the host they run on?
Axel Rosenski
rosenski at wave-computer.de
Fri May 27 09:41:41 CEST 2011
Hi,
I found a solution by adding a service dependency on the nrpe daemon.
This works well with a single dependency definition for standard checks I like
to have on all server but you need to define additional service dependencie for
every service.
When you work with hostgroups you can use them and don't need to define a
dependency for every IP you want to check.
Regards, Axel
Am Freitag, 27. Mai. 11, 09:04:03 schrieb Roberto Nunnari:
> Terry Carmen wrote:
> > Quoting Assaf Flatto <nagios at flatto.net>:
> >>> Any hint/advice/guidance is very welcome.
> >>>
> >>> Thank you and best regards.
> >>>
> >>> Robi
> >>
> >> check out service dependencies
> >>
> >> http://nagios.sourceforge.net/docs/3_0/dependencies.html
> >
> > I'm in the same boat.
> >
> > This should be very simple, but I'm probably just missing something.
> > The above docs show all sorts of complex dependencies, but I'm
> > actually looking for something simple.
> >
> > If a host can't be pinged, there is little point in attempting to
> > check disk space or anything else, so I'd like to disable all the
> > other checks when ping fails; however according to the link above,
> > this would require creating specific dependency definitions for each
> > host and all services, defining everything as a dependency of ping.
> >
> > Is there some sort of rule or wild-card that would tell Nagios that
> > all network based checks should be disabled if the host can't be pinged?
>
> Yes. That's exactly what I'm looking for.
> Robi
>
> > Thanks!
> >
> > Terry
>
> ---------------------------------------------------------------------------
> --- vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> 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
--
Axel Rosenski
- Administration -
______________________________
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden
Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823
Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosenski at wave-computer.de
http://www.wave-computer.de
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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