From f117dddc11f12a150dadd9e06d0789301654b9ee Mon Sep 17 00:00:00 2001 From: Nils Date: Wed, 28 Jun 2017 20:49:32 +0200 Subject: [PATCH] plain old documentation --- plugins/ethereum/ethermine_hashrate_ | 47 +++++++++++++++++++-------- plugins/ethereum/etherscan_balance_ | 48 +++++++++++++++++++--------- 2 files changed, 66 insertions(+), 29 deletions(-) diff --git a/plugins/ethereum/ethermine_hashrate_ b/plugins/ethereum/ethermine_hashrate_ index e3f4f8e4..485f5e34 100755 --- a/plugins/ethereum/ethermine_hashrate_ +++ b/plugins/ethereum/ethermine_hashrate_ @@ -1,19 +1,38 @@ #!/usr/bin/env python -# -# ethermine_hashrate_ -# -# Munin plugin to monitor your ethermine.org hashrate. -# -# Author: Nils Knieling - https://github.com/Cyclenerd -# Licence: GPLv2 -# -# USAGE -# ethermine_hashrate__ -# -# EXAMPLE -# ln -s /usr/share/munin/plugins/ethermine_hashrate_ /etc/munin/plugins/ethermine_hashrate_3257bde8cf067ae6f1ddc0e4b140fe02e3c5e44f_mine -# +""" +=head1 NAME + +ethermine_hashrate_ - Munin plugin to monitor your ethermine.org hashrate (MH/s) + +=head1 CONFIGURATION + +ethermine_hashrate__ + +=head1 SYNOPSIS + + ln -s /usr/share/munin/plugins/ethermine_hashrate_ \ + /etc/munin/plugins/ethermine_hashrate_3257bde8cf067ae6f1ddc0e4b140fe02e3c5e44f_mine + +=head1 DESCRIPTION + +This plugin shows the ethermine.org mining pool hashrate (MH/s) of a given ethereum address and rig name. +Hashrate is queried via ethermine.org API L. + +=head1 VERSION + +0.0.1 + +=head1 AUTHOR + +L + +=head1 LICENSE + +GPLv2 + +=cut +""" from __future__ import print_function diff --git a/plugins/ethereum/etherscan_balance_ b/plugins/ethereum/etherscan_balance_ index 5e211fac..379679c5 100755 --- a/plugins/ethereum/etherscan_balance_ +++ b/plugins/ethereum/etherscan_balance_ @@ -1,20 +1,38 @@ #!/usr/bin/env python -# -# etherscan_balance_ -# -# Munin plugin to monitor your ethereum (ETH) balance. -# Account balance is queried via etherscan.io API (https://etherscan.io/apis). -# -# Author: Nils Knieling - https://github.com/Cyclenerd -# Licence: GPLv2 -# -# USAGE -# etherscan_balance_ -# -# EXAMPLE -# ln -s /usr/share/munin/plugins/etherscan_balance_ /etc/munin/plugins/etherscan_balance_0x3257bde8cf067ae6f1ddc0e4b140fe02e3c5e44f -# +""" +=head1 NAME + +etherscan_balance_ - Munin plugin to monitor your ethereum (ETH) balance + +=head1 CONFIGURATION + +etherscan_balance_ + +=head1 SYNOPSIS + + ln -s /usr/share/munin/plugins/etherscan_balance_ \ + /etc/munin/plugins/etherscan_balance_0x3257bde8cf067ae6f1ddc0e4b140fe02e3c5e44f + +=head1 DESCRIPTION + +This plugin shows the balance (ETH) of a given ethereum address. +Account balance is queried via etherscan.io API L. + +=head1 VERSION + +0.0.1 + +=head1 AUTHOR + +L + +=head1 LICENSE + +GPLv2 + +=cut +""" from __future__ import print_function