1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00

Plugin bitcoind_: reformat documentation header

This commit is contained in:
Lars Kruse 2018-08-24 20:29:48 +02:00
parent ab3d97fca9
commit 3b4383696f

View file

@ -1,40 +1,53 @@
#!/usr/bin/env python #!/usr/bin/env python
# bitcoind_ Munin plugin for Bitcoin Server Variables
# """=cut
# by Mike Koss =head1 NAME
# Feb 14, 2012, MIT License
# bitcoind_ - Track Bitcoin Server Variables
# You need to be able to authenticate to the bitcoind server to issue rpc's.
# This plugin supporst 2 ways to do that: =head1 CONFIGURATION
#
# 1) In /etc/munin/plugin-conf.d/bitcoin.conf place: You need to be able to authenticate to the bitcoind server to issue rpc's.
# This plugin supports two ways to do that:
# [bitcoind_*]
# user your-username 1) In /etc/munin/plugin-conf.d/bitcoin.conf place:
#
# Then be sure your $HOME/.bitcoin/bitcoin.conf has the correct authentication info: [bitcoind_*]
# rpcconnect, rpcport, rpcuser, rpcpassword user your-username
#
# 2) Place your bitcoind authentication directly in /etc/munin/plugin-conf.d/bitcoin.conf Then be sure your $HOME/.bitcoin/bitcoin.conf has the correct authentication info:
# rpcconnect, rpcport, rpcuser, rpcpassword
# [bitcoind_*]
# env.rpcport 8332 2) Place your bitcoind authentication directly in /etc/munin/plugin-conf.d/bitcoin.conf
# env.rpcconnect 127.0.0.1
# env.rpcuser your-username-here [bitcoind_*]
# env.rpcpassword your-password-here env.rpcport 8332
# env.rpcconnect 127.0.0.1
# To install all available graphs: env.rpcuser your-username-here
# env.rpcpassword your-password-here
# sudo munin-node-configure --libdir=. --suggest --shell | sudo bash
# To install all available graphs:
# Leave out the "| bash" to get a list of commands you can select from to install
# individual graphs. sudo munin-node-configure --libdir=. --suggest --shell | sudo bash
#
# Munin plugin tags: Leave out the "| bash" to get a list of commands you can select from to install
# individual graphs.
=head1 MAGIC MARKERS
#%# family=auto #%# family=auto
#%# capabilities=autoconf suggest #%# capabilities=autoconf suggest
=head1 LICENSE
MIT License
=head1 AUTHOR
Copyright (C) 2012 Mike Koss
=cut"""
import os import os
import sys import sys
import time import time