Define dependencie in service defs?
Litwin, Matthew
mlitwin at stubhub.com
Tue Jun 22 05:18:01 CEST 2010
On Jun 21, 2010, at 10:03 AM, Assaf Flatto wrote:
> Litwin, Matthew wrote:
>> Is there a way to define what service a service depends on within te
>> service definition itself for cases where the dependency heirarchy is
>> localized to the same host? Dependency definitions are terrific in
>> that they are so flexible, but it would be nice to contain that
>> functionailty within a single service definition in an effort to
>> simplify configuration.
>>
> At the moment you must define it in a separate definition , but it does
> not have to be in a separate file .
> just put the service dependency definition below/above the service
> declaration and thus you have a more "easy to maintain" way to know what
> you set up and how you need it .
Thanks, that is actually a good and simple solution. I suppose if I employ the regular expression matching tool for configuration that would make it even more automated. Have you worked with that. It seems pretty new.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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