Lars Kruse
a10647b95e
Plguin btcguild_hashrate_: migrate to Python3
2020-11-26 02:39:41 +01:00
Lars Kruse
a7139bcaee
Unify shebang for python scripts
2020-10-28 23:38:41 +01:00
Vincas Dargis
9a2a81381c
bitcoind_: return support for older Bitcoin Core versions
...
Refactor to take Bitcoin Core minor version into consideration,
and use that to implement legacy version support.
2020-04-21 18:55:25 +02:00
Vincas Dargis
15f1055e2c
bitcoind_: update for Bitcoin Core v0.19.0 release
...
* Use new RPC calls to get relevant statistics, as some calls are either
deprecated or completely removed.
* Fix response printing when MUNIN_DEBUG is set.
* Remove "fees" graph as there is no sane way to implement that.
* Add missing success return.
2020-04-21 18:55:25 +02:00
Lars Kruse
7063330e03
Fix python style issues reported by flake8
...
Additionally some python2-only "print" statements are now compatible
with python3.
2019-12-18 00:25:39 +01:00
Lars Kruse
275c82f479
Plugin btcguild_hashrate_: fix code style issues reported by flake8
2019-08-14 00:28:44 +02:00
Lars Kruse
db7b2f28ab
Plugin bitcoind_: unify error output
2019-07-24 13:56:11 +02:00
Lars Kruse
88e027bebd
Plugin bitcoind_: demystify "autoconf" handling
2019-07-24 13:40:16 +02:00
Lars Kruse
fd45fe6c8e
Plugin bitcoind_: unify exit behaviour
2019-07-24 13:32:42 +02:00
Lars Kruse
a0aa955a2d
Plugin bitcoind_: improve style
2019-07-23 21:09:20 +02:00
Lars Kruse
ea051b7f3c
Plugin bitcoind_: use defaults for missing environment variables
...
Previously undefined environment variables were treated as "None"
instead of using the supplied defaults (e.g. for "rpchost" or
"rpcport").
2019-07-23 21:09:20 +02:00
Lars Kruse
f5de3d19ec
Plugin bitcoind_: fix POST request body format
...
Python3 mandates "bytes" as the request body data type.
2019-07-23 01:35:01 +02:00
Lars Kruse
b6a41513d7
Plugin bitcoind_: fix base64 encoding for credentials
...
Python2.7 (as well as Python3.x) refused to execute the previously used
encoding (`foo.encode('base64')`). It is unknown, whether it worked
before with an older Python version.
2019-07-22 13:50:33 +02:00
Lars Kruse
abdeb7ec65
Plugin bitcoind_: introduce explicit configuration file path
...
The home directory of the currently effective UID cannot be easily
inferred in python via os.path.expanduser. Since there is no other
simple way for reaching this goal, an explicit environemnt setting is
introduced.
2018-08-24 21:52:38 +02:00
Lars Kruse
0a090e5be5
Plugin bitcoind_: improved error output
2018-08-24 21:52:11 +02:00
Lars Kruse
675f1f6962
Plugin bitcoind_: retrieve debug state from environment
2018-08-24 20:45:46 +02:00
Lars Kruse
bc20826c4e
Plugin bitcoind_: switch to Python3
2018-08-24 20:38:30 +02:00
Lars Kruse
fffb536e26
Plugin bitcoind_: fix flake8 and python3 issues
2018-08-24 20:31:14 +02:00
Lars Kruse
3b4383696f
Plugin bitcoind_: reformat documentation header
2018-08-24 20:29:48 +02:00
Lars Kruse
5a45d49760
plugin categories: other -> htc (crypto currencies)
2018-03-28 04:31:16 +02:00
Lars Kruse
d6dcc5d379
Revert "Change category of currency-related plugins from 'other' to 'htc'"
...
This reverts commit a48cf87333
.
see the discussion:
https://github.com/munin-monitoring/contrib/pull/855
(the term 'htc' is probably too unknown and not really suitable)
2017-07-03 00:02:08 +02:00
Lars Kruse
a48cf87333
Change category of currency-related plugins from 'other' to 'htc'
...
some categories were changed erroneously before:
https://github.com/munin-monitoring/contrib/pull/855
2017-07-02 19:28:15 +02:00
Nils
fce1e801b6
change bitcoin category from htc to other
2017-07-02 09:03:52 +02:00
Nils
f81bdebc3b
move bitcoin to currency folder
2017-07-02 09:01:41 +02:00