4b1a1d57a9
By default, Ceilometer uses gnocchi_resources.yaml as cfg_file that defines the metric archive policy and metrics send to gnocchi. Users may want to define their own strategy. Change-Id: I49ba34588101ac2b4f450067c8c9a354134063bb Signed-off-by: Ning Yao <yaoning@unitedstack.com>
62 lines
2.1 KiB
Django/Jinja
62 lines
2.1 KiB
Django/Jinja
{
|
|
"command": "ceilometer-agent-notification",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/ceilometer.conf",
|
|
"dest": "/etc/ceilometer/ceilometer.conf",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/event_definitions.yaml",
|
|
"dest": "/etc/ceilometer/event_definitions.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/event_pipeline.yaml",
|
|
"dest": "/etc/ceilometer/event_pipeline.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/pipeline.yaml",
|
|
"dest": "/etc/ceilometer/pipeline.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
}{% if ceilometer_polling_file_path is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/polling.yaml",
|
|
"dest": "/etc/ceilometer/polling.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
}{% endif %}{% if ceilometer_gnocchi_resources_file_path is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/gnocchi_resources.yaml",
|
|
"dest": "/etc/ceilometer/gnocchi_resources.yaml",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
}{% endif %}{% if ceilometer_policy_file is defined %},
|
|
{
|
|
"source": "{{ container_config_directory }}/{{ ceilometer_policy_file }}",
|
|
"dest": "/etc/ceilometer/{{ ceilometer_policy_file }}",
|
|
"owner": "ceilometer",
|
|
"perm": "0600"
|
|
}{% endif %},
|
|
{
|
|
"source": "{{ container_config_directory }}/panko.conf",
|
|
"dest": "/etc/panko/panko.conf",
|
|
"owner": "ceilometer",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/ceilometer",
|
|
"owner": "ceilometer:ceilometer",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|