Skip to content

Commit

Permalink
PMM-1441 add pmm-managed
Browse files Browse the repository at this point in the history
  • Loading branch information
delgod committed Sep 13, 2017
1 parent 50b7f1a commit 0c85a55
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions playbook-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
- percona-dashboards
- pmm-server
- pmm-manage
- pmm-managed
- pmm-update

- name: PMM | Fix nginx config
Expand Down
10 changes: 10 additions & 0 deletions supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,13 @@ stdout_logfile = /var/log/pmm-manage.log
stderr_logfile = /var/log/pmm-manage.log
autorestart = true

[program:pmm-managed]
priority = 13
command =
/usr/sbin/pmm-managed
--prometheus-config /etc/prometheus.yml
--prometheus-url http://127.0.0.1:9090/prometheus
stdout_logfile = /var/log/pmm-managed.log
stderr_logfile = /var/log/pmm-managed.log
autorestart = true

1 change: 1 addition & 0 deletions sysconfig/pmm-managed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
OPTIONS="--prometheus-url http://127.0.0.1:9090/prometheus"

0 comments on commit 0c85a55

Please sign in to comment.