summaryrefslogtreecommitdiffstats
path: root/itl/command-icinga.conf
blob: 74523a4b6168ddbdf3812c44d14d54ff934b60dc (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
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

object CheckCommand "icinga" {
	import "icinga-check-command"
}

object CheckCommand "cluster" {
	import "cluster-check-command"
}

object CheckCommand "cluster-zone" {
	import "cluster-zone-check-command"

	vars.cluster_zone = "$host.name$"
}

object CheckCommand "dummy" {
	import "dummy-check-command"

	vars.dummy_state = 0
	vars.dummy_text = "Check was successful."
}

object CheckCommand "passive" {
	import "dummy"

	vars.dummy_state = 3
	vars.dummy_text = "No Passive Check Result Received."
}

object CheckCommand "random" {
	import "random-check-command"
}

object CheckCommand "exception" {
	import "exception-check-command"
}

object CheckCommand "sleep" {
    import "sleep-check-command"
}

object CheckCommand "ifw-api" {
	import "ifw-api-check-command"

	vars.ifw_api_command = "$command.name$"
	vars.ifw_api_arguments = {}
	vars.ifw_api_host = null
	vars.ifw_api_port = 5668
	vars.ifw_api_expected_san = "$ifw_api_host$"
	vars.ifw_api_cert = null
	vars.ifw_api_key = null
	vars.ifw_api_ca = null
	vars.ifw_api_crl = null
	vars.ifw_api_username = null
	vars.ifw_api_password = null
}