openstack-ansible-galera_se.../templates/mysqlchk.j2

21 lines
501 B
Django/Jinja

# default: on
# description: mysqlchk
# {{ ansible_managed }}
service mysqlchk
{
disable = no
flags = REUSE
socket_type = stream
port = 9200
wait = no
user = nobody
server = /usr/local/bin/clustercheck
log_on_failure += USERID
{% if galera_monitoring_allowed_source is defined %}
only_from = {{ galera_monitoring_allowed_source }}
{% else %}
no_access
{% endif %}
per_source = UNLIMITED
}