Grafana : Install2024/08/26 |
Install Web Dashboard tool, Grafana.
Grafana is the visualize tool, so it needs data source from Database System like |
|
[1] | Install Grafana. |
root@dlp:~ #
pkg install -y grafana
root@dlp:~ #
vi /usr/local/etc/grafana/grafana.ini # line 36 : specify protocol ⇒ possible to change to [https], [h2], [socket] protocol = http # line 42 : IP address Grafana listens ⇒ listens [0.0.0.0] with the default below ;http_addr = # line 45 : specify port ⇒ possible to change to other port ;http_port = 3000 # line 48 : specify domain name ⇒ possible to change to your domain name ;domain = localhost # line 71 : specify your certificate if you set [https] or [h2] for protocol # need [grafana] user can read cert and key cert_file = /usr/local/etc/letsencrypt/live/dlp.srv.world/fullchain.pem cert_key = /usr/local/etc/letsencrypt/live/dlp.srv.world/privkey.pem
service grafana enable grafana enabled in /etc/rc.conf root@dlp:~ # service grafana start Starting grafana. |
[3] | Access to [http://(Grafana server's hostname or IP address):3000/] from any Clients with web browser, then, Grafana login form is shown like follows. It's possible to login with [admin] user and with the default password [admin]. |
[4] | When initial login, it needs to change admin password. Set any one and Click [Submit] button. |
[5] | After login normally, Grafana Home is shown. |