Révision d6dcc5d3
Revert "Change category of currency-related plugins from 'other' to 'htc'"
This reverts commit a48cf873338cc13d9a9239fef5d9a1326a98c9a3.
see the discussion:
https://github.com/munin-monitoring/contrib/pull/855
(the term 'htc' is probably too unknown and not really suitable)
| plugins/currency/ethereum/ethermine_hashrate_ | ||
|---|---|---|
| 72 | 72 |
print("graph_title Ethermine {}".format(miner))
|
| 73 | 73 |
print("graph_info ethermine.org Mining Pool Hashrate for {}_{}".format(eth_address, miner))
|
| 74 | 74 |
print("graph_vlabel Ethermine Hashrate")
|
| 75 |
print("graph_category htc")
|
|
| 75 |
print("graph_category other")
|
|
| 76 | 76 |
print("ethermine_mhs_{}_{}.warning 20:".format(eth_address, miner))
|
| 77 | 77 |
print("ethermine_mhs_{}_{}.critical 10:".format(eth_address, miner))
|
| 78 | 78 |
print("ethermine_mhs_{}_{}.label MH/s:".format(eth_address, miner))
|
| ... | ... | |
| 111 | 111 |
if workers[worker]['worker'] == miner: |
| 112 | 112 |
hash_rate = workers[worker]['hashrate'] |
| 113 | 113 |
hash_rate = hash_rate.replace(" MH/s", "")
|
| 114 |
print("ethermine_mhs_{}_{}.value {}".format(eth_address, miner, hash_rate))
|
|
| 114 |
print("ethermine_mhs_{}_{}.value {}".format(eth_address, miner, hash_rate))
|
|
Formats disponibles : Unified diff