File: service_escalation.cfg

package info (click to toggle)
libnagios-object-perl 0.21.20-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,032 kB
  • sloc: perl: 3,198; makefile: 9
file content (57 lines) | stat: -r--r--r-- 997 bytes parent folder | download | duplicates (5)
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
define host{
	host_name					host1
	address					192.168.0.1
}

define host{
	host_name					host2
	address					192.168.0.2
}

define host{
	host_name					host3
	address					192.168.0.3
    hostgroups                    servers
}

define hostgroup{
    hostgroup_name                servers
}

define serviceescalation{
	host_name					host3
	service_description			http check
	contact_groups				all-escalation
}

define serviceescalation{
	hostgroup_name				servers
	service_description			cpu
	contact_groups				all-escalation
}

define service{
	host_name					host1,host2
	service_description			http check
	check_command				check_http
}

define service{
	host_name					host1,host2
	service_description			cpu
	check_command				check_load
}

define service{
	host_name					host3
	service_description			http check
	contact_groups				all-page
	check_command				check_http
}

define service{
	hostgroup_name				servers
	service_description			cpu
	contact_groups				all-page
	check_command				check_load
}