Defining a service dependency for large number of services
Mathieu Gagné
mgagne at iweb.com
Tue Nov 27 21:33:11 CET 2012
Hi,
On 12-11-27 2:30 PM, Tech Support wrote:
>
> I need to define service dependencies for some services. Pretty
> straightforward stuff, do not check service B unless service A is
> running also. For example, I have 100 different service checks that all
> depend on service A. So my question is this. Is there an easy way to
> define a dependency for a large number of services? Any insight at all
> would be greatly appreciated.
>
> Thanks;
>
You can use this trick:
http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency_with_servicegroups
I use it to massively add service dependencies for all NRPE based
service checks on the NRPE service running on the same host as the NRPE
based service checks.
--
Mathieu
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net
_______________________________________________
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