Skip to content
Snippets Groups Projects
Commit 15af2b07 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-roles/php#11 Configure PHP FPM monitoring by netdata

parent 17dae4ae
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@
backup: yes
with_items:
- httpcheck.conf
- phpfpm.conf
notify:
- Restart NetData
......
local:
name : "local"
url : "http://localhost/fpm-status.php?full&json"
{% for drupal in drupal_settings|default([]) %}
drupal_{{ drupal.id }}:
name : "drupal_{{ drupal.id }}"
url : "https://{{ drupal.domains[0]['domain'] }}/fpm-status.php?full&json"
{% endfor %}
{% for site in netdata_phpfpm|default([]) %}
site_{{ site.id }}:
name : "site_{{ site.id }}"
url : "https://{{ site.domain }}/fpm-status.php?full&json"
{% endfor %}
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