This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| prometheus_grafana [2019/01/12 00:02] – admin | prometheus_grafana [2019/06/22 19:48] (current) – [Run exporters on boot using supervisord] admin | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| https:// | https:// | ||
| + | |||
| + | Gitlab included Exporter | ||
| + | |||
| + | * PostgreSQL: https:// | ||
| + | * Redis: https:// | ||
| + | * Runner: https:// | ||
| + | |||
| Install using go: | Install using go: | ||
| Line 14: | Line 21: | ||
| </ | </ | ||
| - | ===== Run exporters on boot (could be improved) | + | ===== Run exporters on boot using supervisord |
| - | In '' | + | Apache Exporter - https://github.com/ |
| - | <code bash> | + | <code bash /etc/supervisor/conf.d/apache_exporter.conf> |
| - | /root/go/bin/ | + | [program:apache_exporter] |
| - | / | + | command=/ |
| - | / | + | autostart=yes |
| - | / | + | autorestart=yes |
| - | /usr/bin/python3 | + | startretries=3 |
| + | stderr_logfile=/var/log/prometheus_exporter/apache_exporter.err.log | ||
| + | stdout_logfile=/var/log/prometheus_exporter/apache_exporter.log | ||
| + | user=www-data | ||
| </ | </ | ||
| + | |||
| + | MySQL Exporter - https:// | ||
| + | |||
| + | <code bash / | ||
| + | [program: | ||
| + | command=/ | ||
| + | autostart=yes | ||
| + | autorestart=yes | ||
| + | startretries=3 | ||
| + | stderr_logfile=/ | ||
| + | stdout_logfile=/ | ||
| + | user=root # don't run this process as root | ||
| + | </ | ||
| + | |||
| + | Grafana-rrd-server - https:// | ||
| + | |||
| + | <code bash / | ||
| + | [program: | ||
| + | command=/ | ||
| + | autostart=yes | ||
| + | autorestart=yes | ||
| + | startretries=3 | ||
| + | stderr_logfile=/ | ||
| + | stdout_logfile=/ | ||
| + | user=root # don't run this process as root | ||
| + | </ | ||
| + | |||
| + | Fail2ban Exporter - https:// | ||
| + | |||
| + | <code bash / | ||
| + | [program: | ||
| + | command=/ | ||
| + | autostart=yes | ||
| + | autorestart=yes | ||
| + | startretries=3 | ||
| + | stderr_logfile=/ | ||
| + | stdout_logfile=/ | ||
| + | user=root # don't run this process as root | ||
| + | </ | ||
| + | |||
| + | |||
| + | Nextcloud Exporter - https:// | ||
| + | |||
| + | <code bash / | ||
| + | [program: | ||
| + | command=/ | ||
| + | autostart=yes | ||
| + | autorestart=yes | ||
| + | startretries=3 | ||
| + | stderr_logfile=/ | ||
| + | stdout_logfile=/ | ||
| + | user=root | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | SSL Check Exporter - https:// | ||
| + | |||
| + | <code bash / | ||
| + | [program: | ||
| + | command=/ | ||
| + | autostart=yes | ||
| + | autorestart=yes | ||
| + | startretries=3 | ||
| + | stderr_logfile=/ | ||
| + | stdout_logfile=/ | ||
| + | user=root | ||
| + | </ | ||
| + | |||
| + | ElasticSearch Exporter - https:// | ||
| + | |||
| + | |||
| + | <code bash / | ||
| + | [program: | ||
| + | command=/ | ||
| + | autostart=yes | ||
| + | autorestart=yes | ||
| + | startretries=3 | ||
| + | stderr_logfile=/ | ||
| + | stdout_logfile=/ | ||
| + | user=root | ||
| + | </ | ||
| + | |||
| + | ===== Grafana Dashboards ===== | ||
| + | |||
| + | See Grafana website for available dashboards: https:// | ||