-
Install jq as dependency
-
Link the
lightningd_*
scripts to/etc/munin/plugins
. -
If you're using SELinux, don't forget to
chcon
them properly. -
Configure the plugins by creating a file named
/etc/munin/plugin-conf.d/bitcoind
with this content:[lightningd_*] user bitcoin
This will tell Munin to run
lightning-cli
as thebitcoin
user. Adapt it to your setup and avoid usingroot
. -
Restart the munin-node daemon with
systemctl restart munin-node
or/etc/init.d/munin-node restart
. -
Done. You should now start to see a new section lightningd in your Munin pages with the corresponding graphs.
-
After a while, images
AGPLv3+