Skip to content
Snippets Groups Projects
Commit 236b52c6 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/gentner#2475 Update PHP-FPM monitoring with Go instead of Python

parent ed032785
No related branches found
No related tags found
No related merge requests found
......@@ -76,8 +76,10 @@
backup: yes
with_items:
- fluentd.conf
- phpfpm.conf
notify:
- Restart NetData
tags: abcabcabc
- name: Get a list of all health config files
shell: ls /opt/netdata/usr/lib/netdata/conf.d/health.d/*.conf -1
......
## All available configuration options, their descriptions and default values:
## https://github.com/netdata/go.d.plugin/tree/master/modules/phpfpm
#update_every: 1
#autodetection_retry: 0
#priority: 70000
jobs:
- name: local
url: http://127.0.0.1/fpm-status?full&json
{% for drupal in drupal_settings|default([]) %}
- name: drupal_{{ drupal.id }}
url: https://{{ drupal.domains[0]['domain'] }}/fpm-status?full&json
{% endfor %}
{% for site in netdata_phpfpm|default([]) %}
- name: site_{{ site.id }}
url: https://{{ site.domain }}/fpm-status?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