object inheritance question
    Babineau, Mike 
    Mike.Babineau at Pearson.com
       
    Tue Jul 31 23:36:57 CEST 2007
    
    
  
When using templates in the case of variables which can have a
comma-delimited set of values, does variable assignment overwrite or
append?
 
Example:
define contact{
        use                             template.contact          
        contact_name                    template.contact.admin
        contactgroups                   contactgroup.admin
        register                        0
        }
 
define contact{
        use                             template.contact.admin
        contact_name                    jbob
        contactgroups                   contactgroup.admin.sa
        alias                           Jim Bob
        }
 
 
Will Jim Bob be a member of a) only contactgroup.admin.sa; or b) both
contactgroup.admin and contactgroup.admin.sa?
 
If, as I suspect, a) is correct and he will only be a member of the last
assigned group, is there a way to append to an inherited variable's
value and achieve case b)?
 
Thanks,
---------------------------
Michael Babineau
Systems Administrator
Pearson Education
mike.babineau at pearson.com
**************************************************************************** 
This email may contain material confidential to
Pearson.  If you were not an intended recipient, 
please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070731/9a47d3a3/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
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