summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Richter <github@syntax-fehler.de>2011-06-30 23:04:35 +0200
committerFelix Richter <github@syntax-fehler.de>2011-06-30 23:05:41 +0200
commita60b064f38209d8f41b67717b8c80cd214f9c2b9 (patch)
treeead03d98ba33dbf633fd0964f9d068fc32c1213b
parentacd206da56f6ebfa123745cf6ab2f429d064363b (diff)
renamed btcguild script, added command to Monitoring
shack_guest now contains the command to check chinaman
-rw-r--r--Monitoring/conf/shack_guests.cfg13
-rwxr-xr-xMonitoring/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