Help us understand the problem. What is going on with this article?

FreeBSD で Prometheus & Grafana を動かしてみる

More than 1 year has passed since last update.

FreeBSD11.2でPrometheusとGrafanaを動かしてみます
(動かすだけです)

環境

ソフトウェア バージョン
FreeBSD 11.2
Prometheus 2.5.0
Grafana 5.3.4

pkgでprometheusのインストール

$ sudo pkg install -y prometheus grafana5

※prometheus1系の場合はprometheus1があるのでこちらをインストール
※grafanaは5以外にgrafana(1系)、grafana2、grafana3、grafana4があります

Prometheus & Grafana を起動

$ sudo sysrc prometheus_enable="YES"
$ sudo sysrc grafana_enable="YES"
$ sudo /usr/local/etc/rc.d/prometheus start
$ sudo /usr/local/etc/rc.d/grafana start

Prometheusの設定ファイルは/usr/local/etc/prometheus.yml
Grafanaの設定ファイルは/usr/local/etc/grafana.conf

Prometheusにブラウザからアクセス

http://サーバのIPアドレス:9090/
prometheus

Grafanaにブラウザからアクセス

http://サーバのIPアドレス:3000/
ID:admin, PASS: adminでログインできます
prometheus

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away