summaryrefslogtreecommitdiffstats
path: root/Monitoring
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
commit9dd15654794ff3b046be4389fbd047b42500ef67 (patch)
tree5a26de1cdf0dd5d89bab8a8a49c18cf1621b7b46 /Monitoring
parent01f35f62d2efe5fc8c41e7964f60c0a2d96f9c71 (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.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