File: command-icinga.conf

package info (click to toggle)
icinga2 2.15.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,032 kB
  • sloc: cpp: 97,877; sql: 3,261; cs: 1,636; yacc: 1,584; sh: 1,009; ansic: 890; lex: 420; python: 80; makefile: 62; javascript: 12
file content (57 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download | duplicates (2)
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
}