Skip to content
Snippets Groups Projects
Commit 56d9460a authored by jurgenhaas's avatar jurgenhaas
Browse files

Bug fixes

parent 9a085df4
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ agent_key: {{sd_agent_key}}
plugin_directory: /usr/bin/sd-agent/plugins
logging_level: {{sd_logging_level}}
{% if inventory_hostname in groups[sd_groups.apache] %}
{% if sd_groups.apache != 'none' and inventory_hostname in groups[sd_groups.apache] %}
# Apache
# See https://support.serverdensity.com/hc/en-us/articles/201253343-Apache-monitoring-Linux-Mac-and-FreeBSD
......@@ -18,7 +18,7 @@ apache_status_user:
apache_status_pass:
{% endif %}
{% if inventory_hostname in groups[sd_groups.mysql] %}
{% if sd_groups.mysql != 'none' and inventory_hostname in groups[sd_groups.mysql] %}
# MySQL
# See https://support.serverdensity.com/hc/en-us/articles/201013827-MySQL-monitoring-Linux-Mac-and-FreeBSD
......@@ -27,7 +27,7 @@ mysql_user: root
mysql_pass: root
{% endif %}
{% if inventory_hostname in groups[sd_groups.proxy] %}
{% if sd_groups.proxy != 'none' and inventory_hostname in groups[sd_groups.proxy] %}
haproxy_svname: {{inventory_hostname}}
haproxy_url: http://127.0.0.1:7000/haproxy_stats
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment