-
Notifications
You must be signed in to change notification settings - Fork 4
/
cinder.cfg.example
71 lines (60 loc) · 2.98 KB
/
cinder.cfg.example
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
###############################################################################
# COMMANDS.CFG - SAMPLE HOST DEFINITIONS FOR OPENSTACK ICINGA (CINDER
#
# NOTES: This config file provides you with some example host and service
# definitions that you can reference for the openstack fuctional tests.
#
# You don't need to keep definitions in a separate file from your other
# definitions. This has been done just to make things easier to
# understand.
#
###############################################################################
###############################################################################
###############################################################################
#
# HOST DEFINITION
#
###############################################################################
###############################################################################
# Define a host for the fuctional tests
define host{
use fuctional-tests ; Name of host template to use
; This host definition will inherit all variables that are defined
; in (or inherited by) the linux-server host template definition.
host_name cinder
alias cinder
address 127.0.0.1
check_command cinder_list!5!15
}
###############################################################################
###############################################################################
#
# SERVICE DEFINITIONS
#
###############################################################################
###############################################################################
# Define a service to check cinder list
define service{
use fuctional-service ; Name of service template to use
host_name cinder
service_description Cinder List
check_command cinder_list!5!15
}
define service{
use fuctional-service ; Name of service template to use
host_name cinder
service_description Cinder Create
check_command cinder_create!15!45
}
define service{
use fuctional-service ; Name of service template to use
host_name cinder
service_description Cinder Volume Usage
check_command cinder_volume_usage!50%!80%
}
define service{
use fuctional-service ; Name of service template to use
host_name cinder
service_description Cinder Gigabyte Usage
check_command cinder_gigabyte_usage!50%!80%
}