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
8713eb3722
Fix spelling mistakes in comments and descriptions
...
Thanks, codespell!
2020-03-26 04:23:21 +01: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
c466adc4d3
Plugin ethermine_hashrate_: fix code style issues reported by flake8
2019-08-14 00:29:25 +02:00
Lars Kruse
275c82f479
Plugin btcguild_hashrate_: fix code style issues reported by flake8
2019-08-14 00:28:44 +02:00
Lars Kruse
be192b5226
Fix multiple python code issues (detected by flake8)
2019-08-13 05:16:13 +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
17f784270a
Whitespace cleanup
...
* remove trailing whitespace
* remove empty lines at the end of files
2018-08-02 02:33:25 +02:00
Lars Kruse
33e95e6ff9
Review and unify category assignments of plugins
2018-08-01 23:56:56 +02:00
sumpfralle
c5774e62df
Merge pull request #913 from Cyclenerd/master
...
Plugin to get hashrate of Flypool Zcash mining pool
2018-06-10 12:08:30 +02:00
Nils
6a0a0c8d58
use json.loadS
2018-03-30 20:56:12 +02:00
Nils
6ff34af50e
set U as default
2018-03-30 14:16:57 +02:00
Nils
8a72386a30
print magic value U if error
2018-03-30 09:58:14 +02:00
Nils
e2db693c0d
codecs.getreader ("utf-8") added again
...
without python3.4 fails
2018-03-29 08:50:21 +02:00
Nils
727fc7180d
better except
2018-03-29 08:41:32 +02:00
Nils
d809d138b1
exit if api failed
2018-03-29 08:39:20 +02:00
Nils
f27fc67ccf
reader removed
2018-03-29 08:37:53 +02:00
Nils
21341b5a00
python3 only
2018-03-29 08:11:59 +02:00
Lars Kruse
5a45d49760
plugin categories: other -> htc (crypto currencies)
2018-03-28 04:31:16 +02:00
Nils
4d9a7e2cab
Zcash Flypool Hashrate
...
Munin plugin to monitor your zcash.flypool.org hashrate.
2018-03-27 11:36:14 +02:00
Lars Kruse
23811e3490
Plugin etherscan_balance_: fix style issues; change to python3
2018-03-27 04:59:57 +02:00
Ralf Geschke
e8ff8cf44a
minor fixes as suggested
2017-07-15 20:16:44 +02:00
Ralf Geschke
58b1c1ec56
Updates as suggested, fix of worker data view, new symlink structure to support multiple addresses
2017-07-12 12:55:51 +02:00
Ralf Geschke
5ff95fb5b2
Info of shares graph fixed
2017-07-06 19:47:44 +02:00
Ralf Geschke
8dcd1caa64
Add plugin to get result data of Nanopool ethereum mining pool.
2017-07-06 19:24:23 +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
Nils
f5715e5eba
more beautiful title
2017-07-01 17:41:06 +02:00
Nils
1fe90e4cac
better field name to avoid errors
2017-07-01 17:32:08 +02:00
Nils
3298c34c74
convert wei to ether (ETH) via 'fieldname.cdef'
2017-07-01 17:22:28 +02:00
Nils
17a2e23686
ValueError comment
2017-07-01 09:34:50 +02:00
Nils
73d11530ae
wei to ether comment
2017-07-01 09:04:23 +02:00
Nils
311888d3b8
category change s/htc/other/
2017-06-30 08:55:51 +02:00
Nils
25db9a778e
exit on ioerror
2017-06-30 08:49:26 +02:00
Nils
2820f32d15
response typo
2017-06-30 08:47:45 +02:00