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 | 3aa54ea3040e2a52099f8496ab255982caa88f51 (patch) | |
tree | c9c2047904f4e5117ba947366c8f0c2593bbf311 /Monitoring | |
parent | 477793de0c9f448beb0a2c018bb003b5205f97aa (diff) |
renamed btcguild script, added command to Monitoring
shack_guest now contains the command to check chinaman
Diffstat (limited to 'Monitoring')
-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 |