Proposal to extend "Implied Inheritance"

William Leibzon william at leibzon.org
Fri Nov 13 18:28:22 CET 2009


It might be worse having functionality to define which parameters should be
inherited. But I don't think we should automatically do it for all - I
really like nagios to warn me that these were not properly defined in
majority of cases. The check parameters you listed though is ok for the use
case you provided.

Perhaps the way to do it is define one parameter in host definition that
says that parameters there can be inherited by services. This parameter by
itself would not be inheritable (i.e. when you define another host that
"uses" it) so it allows you to set the list of inheritable parameters as a
special template.

On Fri, Nov 13, 2009 at 1:07 AM, Jelle Smet <nagios at smetj.net> wrote:

> Hi List,
>
> I think the -Implied Inheritance- functionality is something which is very
> useful. Especially to services.
>
> Currently only these service variables are inherited from the host
> configuration:
>        contact_groups
>        notification_interval
>        notification_period
>
> Wouldn't it be interesting to extend this functionality to inherit all
> other host parameters a service has in common with a host definition?
> (except name, action url there might be on or two more obvious ones)
>
> Especially: max_check_attempts, normal_check_interval, retry_check_interval
>
> In our case we would benefit from this because:
> Our servers are acccording to a company definition split into core,
> production, development, test
> If services could inherit the common parameters from the host definition,
> we would only need 1 service template which could serve all.
>
> This is of course a case which applies to my specific situation, but it
> could be beneficial in a multitude of other cases.
>
> Dev's what are your thoughts?
>
>
> --
> Jelle Smet
> http://www.smetj.net
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20091113/9b067ddc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list