Skip to content

Instantly share code, notes, and snippets.

Created Dec 21, 2012
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