summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers/20_spec_adei.cfg
blob: 918785bf89ab33d0e0c6556ee0e459733ede4444 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
define hostgroup {
        hostgroup_name  		adei-servers 
        alias           		ADEI Servers
}

define host {
	name				adei-server
	use				unix-server
	hostgroups			adei-servers, www-servers
	register			0
}

define servicegroup {
        servicegroup_name       	adei-services
        alias                   	ADEI Services
}

define service {
	name				adei-service
        use                             remote-service
        servicegroups			adei-services
        max_check_attempts              4
        check_interval                  20
        retry_interval                  5
        register                        0
}

define service {
        use                             adei-service
        hostgroup_name                  adei-servers
        service_description             ADEI
	check_command			host_adei_status
}


# Worth not, adei_status will report if MySQL is broken
#define service {
#        use                             ssh-service
#        hostgroup_name                  adei-servers
#        service_description             MYSQL
#	check_command			check_ssh_mysql
#}


define command {
	command_name	host_adei_status
	command_line	$USER2$/check_adei_status $HOSTADDRESS$ $ARG1$
}

define command {
	command_name	host_adei_source
	command_line	$USER2$/check_adei_source $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}

define command {
	command_name	host_adei_control
	command_line	$USER2$/check_adei_control $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$
}


define command {
	command_name	adei_status
	command_line	$USER2$/check_adei_status $ARG1$ $ARG2$
}

define command {
	command_name	adei_source
	command_line	$USER2$/check_adei_source $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
}

define command {
	command_name	adei_control
	command_line	$USER2$/check_adei_control $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$
}