summaryrefslogtreecommitdiffstats
path: root/Monitoring/conf
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-07-11 19:28:46 +0200
committermakefu <github@syntax-fehler.de>2011-07-11 19:28:46 +0200
commitd4b10109629a2c2120f0b1810380b3a385ac686e (patch)
tree5096b48bbcde3ba8c4783c5d82329a06588a5c27 /Monitoring/conf
parent4775e789f0733559387b9050569e218c58db5139 (diff)
added config for nagios for speed/temp scripts
plugins/*: fixed some usability issues, Warning -> !! , Info -> ** , Stupid -> ?? conf/shack_guests: contains config for miner
Diffstat (limited to 'Monitoring/conf')
-rw-r--r--Monitoring/conf/hostgroups_nagios2.cfg31
-rw-r--r--Monitoring/conf/shack_guests.cfg35
2 files changed, 61 insertions, 5 deletions
diff --git a/Monitoring/conf/hostgroups_nagios2.cfg b/Monitoring/conf/hostgroups_nagios2.cfg
new file mode 100644
index 00000000..63acbf50
--- /dev/null
+++ b/Monitoring/conf/hostgroups_nagios2.cfg
@@ -0,0 +1,31 @@
+# Some generic hostgroup definitions
+
+# A simple wildcard hostgroup
+define hostgroup {
+ hostgroup_name all
+ alias All Servers
+ members *
+ }
+
+# A list of your Debian GNU/Linux servers
+define hostgroup {
+ hostgroup_name debian-servers
+ alias Debian GNU/Linux Servers
+ members localhost
+ }
+
+# A list of your web servers
+define hostgroup {
+ hostgroup_name http-servers
+ alias HTTP servers
+ members localhost
+ }
+
+# A list of your ssh-accessible servers
+define hostgroup {
+ hostgroup_name ssh-servers
+ alias SSH servers
+ members localhost
+ }
+
+
diff --git a/Monitoring/conf/shack_guests.cfg b/Monitoring/conf/shack_guests.cfg
index faf9f833..7a8cc088 100644
--- a/Monitoring/conf/shack_guests.cfg
+++ b/Monitoring/conf/shack_guests.cfg
@@ -34,21 +34,46 @@ define host{
alias Chinaman Bitcoin Mining Rig
address 10.42.0.96
_TINC_ADDRESS 10.7.7.6
+ _SPEED_URL http://leechi.kicks-ass.org/tmp/live/chinaman_bitcoinslc_live
+ _TEMPER_URL http://leechi.kicks-ass.org/tmp/live/chinaman_bitcoinslc_live
hostgroups bitcoin-miner,tinc-nodes,ssh-servers
contact_groups krebsminers
}
+define command {
+ command_name check_speed
+ command_line $USER1$/check_speed $_HOSTSPEED_URL$ $ARG1$
+ }
define service {
host_name chinaman
- service_description BTCGUILD hash rate checker
+ service_description Temperature Checker
use generic-service
- check_command check_btcguild_miner!4bf1543d2eca8648277bdc66c326eea9!txgen_chinaman!450
+ check_command check_temper!85 85 65 45
contact_groups krebsminers
}
-
define command {
- command_name check_btcguild_miner
- command_line $USER1$/check_btcguild_miner $ARG1$ $ARG2$ $ARG3$
+ command_name check_temper
+ command_line $USER1$/check_speed $_HOSTTEMPER_URL$ $ARG1$
+ }
+define service {
+ host_name chinaman
+ service_description Mining Speed checker
+ use generic-service
+ check_command check_speed!600
+ 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!450
+# contact_groups krebsminers
+# }
+
+
+#define command {
+# command_name check_btcguild_miner
+# command_line $USER1$/check_btcguild_miner $ARG1$ $ARG2$ $ARG3$
+# }
define host{
use generic-host