hostgroup escalations?

Russell Scibetti russell at quadrix.com
Thu May 15 18:42:00 CEST 2003


This might help you out.  You can use the hostdependency object with 
"hostgroup_name" and "dependent_hostgroup_name" definitions:

http://nagios.sourceforge.net/docs/1_0/templatetricks.html#hostdependency

Russell Scibetti
Quadrix Solutions Inc.

Hochberg, Keith wrote:

> I've read through all of the docs and FAQ's and I am not sure this can 
> be done.  For future ease of administration I would like to be able to 
> set up hostgroup dependencies, such as:
>
> define hostgroupdependency{
>         host_name                                       network device
>         dependent_hostgroup_name           hostgroup
>         notification_failure_criteria           d,u
>         }
>
> I manage a rather large Nagios build (over 2,000 checks) and would 
> like to just be able to change hosts in my hostgroups file and have 
> the host dependencies already set up.  I have service and host 
> dependencies set up but when I tried to set up the hostgroup 
> dependency it didn't like the syntax.  Do you know any way around 
> this?  I guess I can just copy and paste straight from the 
> hostgroups.cfg directly to the dependencies.cfg but I figured this 
> would be a cleaner way to do it.
>
> btw, I found this FAQ very helpful... I have seen many questions on 
> the difference between parent/child relationship and host dependencies 
> on this list and elsewhere:   
> http://www.nagios.org/faqs/viewfaq.php?faq_id=145
>
> Any help you can give me would be much appreciated!
>
> Thanks!
>
> -Keith
>
> ------------------------------------------------------- Enterprise 
> Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only 
> event dedicated to issues related to Linux enterprise solutions 
> www.enterpriselinuxforum.com 
> _______________________________________________ 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 


-- 
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030515/97af7d7d/attachment.html>


More information about the Users mailing list