Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NetData
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
NetData
Commits
15af2b07
Commit
15af2b07
authored
4 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-roles/php#11 Configure PHP FPM monitoring by netdata
parent
17dae4ae
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/configure.yml
+1
-0
1 addition, 0 deletions
tasks/configure.yml
templates/phpfpm.conf
+15
-0
15 additions, 0 deletions
templates/phpfpm.conf
with
16 additions
and
0 deletions
tasks/configure.yml
+
1
−
0
View file @
15af2b07
...
...
@@ -47,6 +47,7 @@
backup
:
yes
with_items
:
-
httpcheck.conf
-
phpfpm.conf
notify
:
-
Restart NetData
...
...
This diff is collapsed.
Click to expand it.
templates/phpfpm.conf
0 → 100644
+
15
−
0
View file @
15af2b07
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
%}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment