summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers.disabled/20_spec_cluster.cfg
blob: 1ca04cb9ddc462ef12d0c1c30e1783fd69cc3d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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$"
}