Skip to content

Instantly share code, notes, and snippets.

@lutter
Created Dec 21, 2012
Embed
What would you like to do?
Add another plugin to collectd config with Augeas
# Completely untested
ins LoadPlugin after /files/etc/collectd/collectd.conf/directive[. = 'LoadPlugin'][last()]
set /files/etc/collectd/collectd.conf/directive[. = 'LoadPlugin'][last()]/arg some_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment