User Tools

Site Tools


prometheus_grafana

This is an old revision of the document!


Grafana Prometheus

A list of available exporters:

https://prometheus.io/docs/instrumenting/exporters/

Gitlab included Exporter

Install using go:

go get github.com/prometheus/mysqld_exporter

Run exporters on boot (could be improved)

In /etc/rc.local add before exit 0:

/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/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" &
/usr/bin/python3 /usr/local/src/fail2ban_exporter/fail2ban_exporter.py &

Grafana Dashboards

See Grafana website for available dashboards: https://grafana.com/dashboards

prometheus_grafana.1547301408.txt.gz · Last modified: 2019/01/12 14:56 by admin