diff options
author | Felix Richter <github@syntax-fehler.de> | 2011-06-30 23:04:35 +0200 |
---|---|---|
committer | Felix Richter <github@syntax-fehler.de> | 2011-06-30 23:05:41 +0200 |
commit | a60b064f38209d8f41b67717b8c80cd214f9c2b9 (patch) | |
tree | ead03d98ba33dbf633fd0964f9d068fc32c1213b | |
parent | acd206da56f6ebfa123745cf6ab2f429d064363b (diff) |
renamed btcguild script, added command to Monitoring
shack_guest now contains the command to check chinaman
-rw-r--r-- | Monitoring/conf/shack_guests.cfg | 13 | ||||
-rwxr-xr-x | Monitoring/plugins/check_btcguild_miner (renamed from Monitoring/plugins/btcguild_miner_check) | 0 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Monitoring/conf/shack_guests.cfg b/Monitoring/conf/shack_guests.cfg index 45617461..79796541 100644 --- a/Monitoring/conf/shack_guests.cfg +++ b/Monitoring/conf/shack_guests.cfg @@ -26,6 +26,7 @@ define host{ hostgroups bitcoin-miner } +#Chinaman define host{ use generic-host host_name chinaman @@ -36,6 +37,18 @@ define host{ hostgroups bitcoin-miner,tinc-nodes,ssh-servers contact_groups krebsminers } +define service { + host_name chinaman + service_description BTCGUILD hash rate checker + use generic-service + check_command check_btcguild_miner!4bf1543d2eca8648277bdc66c326eea9!txgen_chinaman!600 + contact_groups krebsminers + } + +define command { + command_name check_btcguild_miner + command_line $USER1$/check_btcguild_miner $ARG1$ $ARG2$ $ARG3$ + } define host{ use generic-host diff --git a/Monitoring/plugins/btcguild_miner_check b/Monitoring/plugins/check_btcguild_miner index aacdefc9..aacdefc9 100755 --- a/Monitoring/plugins/btcguild_miner_check +++ b/Monitoring/plugins/check_btcguild_miner |