Mathias Ewald cbbceb0ad3 Add prometheus and related containers
Add container for prometheus, mysqld_exporter, node_exporter and
haproxy_exporter

Change-Id: I6e4eb0391380e594b708a67365e240d3eeafd88b
2017-07-24 13:32:17 +00:00

10 lines
263 B
Bash

#!/bin/bash
# Create log directory, with appropriate permissions
if [[ ! -d "/var/log/kolla/prometheus" ]]; then
mkdir -p /var/log/kolla/prometheus
fi
if [[ $(stat -c %a /var/log/kolla/prometheus) != "755" ]]; then
chmod 755 /var/log/kolla/prometheus
fi