summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers.disabled/20_spec_cluster.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/pdv/servers.disabled/20_spec_cluster.cfg')
-rw-r--r--config/pdv/servers.disabled/20_spec_cluster.cfg34
1 files changed, 34 insertions, 0 deletions
diff --git a/config/pdv/servers.disabled/20_spec_cluster.cfg b/config/pdv/servers.disabled/20_spec_cluster.cfg
new file mode 100644
index 0000000..1ca04cb
--- /dev/null
+++ b/config/pdv/servers.disabled/20_spec_cluster.cfg
@@ -0,0 +1,34 @@
+define host {
+ name ib-switch
+ use switch
+ check_command check_ib_node!$_HOSTMASTER_IP$
+ register 0
+ _MASTER_IP 192.168.26.133
+}
+
+define host {
+ name ib-server
+ use ib-switch
+ register 0
+}
+
+define host {
+ name kaas-switch
+ use ib-switch
+ register 0
+ _MASTER_IP kaas.kit.edu
+}
+
+define host {
+ name kaas-server
+ use kaas-switch
+ register 0
+}
+
+
+# This is not available (really) and I have not found a way to ping IB addresses (without running ib-ping server which will
+# not work with switches). Anyway, why we even need that? We can map using normal IP addresses.
+define command {
+ command_name check_ib_node
+ command_line $USER2$/check_by_ssh -H $ARG1$ -p $ARG2$ -l $ARG3$ -C "/opt/scripts/nagios_ib_node.sh $HOSTADDRESS$"
+}