Skip to content

Added metadata.Vars as quick access to Property like attributes#400

Open
xschlef wants to merge 8 commits intoBcfg2:masterfrom
xschlef:vars-plugin
Open

Added metadata.Vars as quick access to Property like attributes#400
xschlef wants to merge 8 commits intoBcfg2:masterfrom
xschlef:vars-plugin

Conversation

@xschlef
Copy link
Copy Markdown
Contributor

@xschlef xschlef commented Apr 9, 2018

We needed a plugin that solves the problem of adding additional metadata that cannot be represented as a group:

For example:

<Group name="balanced">
   <Client name="foo.example.org">
        <var name="private_ip">10.0.1.3</var>
   </Client>
   ...
</Group>

This can now be accessed everywhere where a metadata object is present especially when generating configurations for monitoring systems like nagios / icinga.

We thought about mapping this to Properties, but we didn't want to reevaluate the properties everytime a client checks in, as we have an instance with 300+ clients.

Maybe you find this useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant