supervisord
This commit is contained in:
@@ -9,8 +9,8 @@ pidfile=/var/run/supervisord.pid
|
||||
command=/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stderr_logfile=/var/log/supervisor/haproxy.err.log
|
||||
stdout_logfile=/var/log/supervisor/haproxy.out.log
|
||||
stderr_logfile=/var/log/haproxy/haproxy.err.log
|
||||
stdout_logfile=/var/log/haproxy/haproxy.log
|
||||
priority=100
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import requests
|
||||
import csv
|
||||
|
||||
HAPROXY_STATS_URL = 'http://127.0.0.1:8080/;csv'
|
||||
HAPROXY_STATS_URL = 'http://127.0.0.1:8484/;csv'
|
||||
|
||||
def fetch_haproxy_stats():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user