servicedependency
Marc Powell
marc at ena.com
Wed Sep 10 14:25:32 CEST 2008
On Sep 10, 2008, at 2:18 AM, Stepan Kadlec wrote:
>
> greetings,
> I would like to configure service dependency without specifying
> origin
> and dependent host (but I guess it is impossible in current nagios). I
Possible according to http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency
.
> For example: one hostgroup has assigned eight servicechecks based on
> snmp check. It would be useful to make those checks dependent on one
> checking of snmp status itself (if snmp is not running, all other
> checks
> based on snmp will be disabled). but how can I do this generically
> without specifying hosts in servicedependencies? does anyone some idea
> for this?
While not explicitly documented, I'm pretty sure that you can use
hostgroup_name instead of host_name in the dependency above...
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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