wiki:Priority_and_inheritance

Configuration priority

When using munin-node behaviour files, the most specific plugin description has the highest priority. This means that values from [foo_bar_*] have precendence over values from [foo_*], regardless of order in the plugin config file.

Inheritance

In the plugin configuration file(s), values are inherited. Values assigned in more specific plugin descriptions have higher priority.

Non-conflicting values

Consider the following example for a plugin called dummy_foo_gazonk:

[dummy_*]
env.test1 foo

[dummy_foo_*]
env.test2 baz

In this case, the resulting environment values are:

test1foo
test2baz

Conflicting values

The consider the example below:

[dummy_*]
env.test1 foo

[dummy_foo_*]
env.test1 bar
env.test2 baz

As the more specific env.test1 has priority, these are the result values:

test1bar
test2baz
Last modified at 2010-08-25T17:54:34+02:00 Last modified on 2010-08-25T17:54:34+02:00