Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision |
prometheus_grafana [2019/01/11 21:01] – created admin | prometheus_grafana [2019/01/12 14:44] – admin |
---|
| |
https://prometheus.io/docs/instrumenting/exporters/ | https://prometheus.io/docs/instrumenting/exporters/ |
| |
| Gitlab included Exporter |
| |
| * PostgreSQL: https://docs.gitlab.com/ee/administration/monitoring/prometheus/postgres_exporter.html |
| * Redis: https://docs.gitlab.com/ee/administration/monitoring/prometheus/redis_exporter.html |
| |
| |
| Install using go: |
| |
| <code> |
| go get github.com/prometheus/mysqld_exporter |
| </code> |
| |
===== Run exporters on boot (could be improved) ===== | ===== Run exporters on boot (could be improved) ===== |
/root/go/bin/grafana-rrd-server -r /var/lib/munin/KnallimallOrg/ & | /root/go/bin/grafana-rrd-server -r /var/lib/munin/KnallimallOrg/ & |
/root/go/bin/mysqld_exporter --config.my-cnf /etc/mysql/debian.cnf & | /root/go/bin/mysqld_exporter --config.my-cnf /etc/mysql/debian.cnf & |
/root/go/bin/nextcloud-exporter -p PASSWORD -u NEXTCLOUD_USER -l https://cloud.domain.org/ocs/v2.php/apps/serverinfo/api/v1/info & | /root/go/bin/nextcloud-exporter -p PASSWORD -u NEXTCLOUD_USER -l https://cloud.example.org//ocs/v2.php/apps/serverinfo/api/v1/info & |
/root/go/bin/apache_exporter -insecure -scrape_uri "http://localhost/server-status/?auto" & | /root/go/bin/apache_exporter -insecure -scrape_uri "http://localhost/server-status/?auto" & |
| /usr/bin/python3 /usr/local/src/fail2ban_exporter/fail2ban_exporter.py & |
</code> | </code> |
| |