m...@linux.it (Marco d'Itri) writes:

> Looks like the env directive in /etc/munin/plugin-conf.d/munin-node is
> shadowing the one in /etc/munin/plugin-conf.d/local_df, but the first
> file is still processed last even if I renamed it to zzz_df.  Bug,
> misfeature or user error?

The files in /etc/munin/plugin-conf.d are read in the order they were
added to the directory, and identical settings overwrite eachother.

There's no practical way of ensuring one file is read before the other,
short of changing munin.

I speculate that adding a sort() around readdir($DIR) in
http://munin-monitoring.org/browser/trunk/node/lib/Munin/Node/Config.pm#L146
would provide some predictability, by making sure files are read in
alphabetical order.

-- 
Stig Sandbeck Mathisen

Attachment: pgpyTV3UdNQxz.pgp
Description: PGP signature

Reply via email to