User Tools

Site Tools


prometheus_grafana

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
prometheus_grafana [2019/01/11 21:01] – created adminprometheus_grafana [2019/01/12 14:56] admin
Line 7: Line 7:
  
 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
 +  * Runner: https://docs.gitlab.com/runner/monitoring/
 +
 +
 +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) =====
Line 15: Line 28:
 /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>
 +
 +===== Grafana Dashboards =====
 +
 +See Grafana website for available dashboards: https://grafana.com/dashboards
  
prometheus_grafana.txt · Last modified: 2019/06/22 21:48 by admin