b6cce3e3f3
Monasca Thresh is a Storm topology which generates alerts from metric streams according to alarms defined via the Monasca API. This change runs the thresholder in local mode, which means that the log output for the topology is directed to stdout and the topology is restarted if the container is restarted. A future change will improve the log collection and introduce a better way of the checking the topology is running for multi-node clusters. Change-Id: I063dca5eead15f3cec009df62f0fc5d857dd4bb0 Partially-Implements: blueprint monasca-roles
30 lines
948 B
Django/Jinja
30 lines
948 B
Django/Jinja
{
|
|
"command": "/opt/storm/bin/storm jar /monasca-thresh-source/monasca-thresh-*/thresh/target/monasca-thresh-*-SNAPSHOT-shaded.jar monasca.thresh.ThresholdingEngine /etc/monasca/thresh-config.yml monasca-thresh local",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/thresh-config.yml",
|
|
"dest": "/etc/monasca/thresh-config.yml",
|
|
"owner": "monasca",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "/var/lib/kolla/config_files/storm.yml",
|
|
"dest": "/opt/storm/conf/storm.yaml",
|
|
"owner": "monasca",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/monasca",
|
|
"owner": "monasca:kolla",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/lib/monasca-thresh",
|
|
"owner": "monasca:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|