serverapps:monitor:grafana
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
serverapps:monitor:grafana [2022/05/14 04:00] – 作成 hayashi | serverapps:monitor:grafana [2022/05/19 11:11] (現在) – hayashi | ||
---|---|---|---|
行 1: | 行 1: | ||
====== Grafana ====== | ====== Grafana ====== | ||
+ | ===== Install ===== | ||
+ | sudo pkg install grafana8 | ||
+ | |||
+ | ===== 設定 ===== | ||
+ | |||
+ | / | ||
+ | |||
+ | < | ||
+ | # The ip address to bind to, empty will bind to all interfaces | ||
+ | ;http_addr = | ||
+ | http_addr = XXX.XXX.XXX.XXX | ||
+ | |||
+ | ................ | ||
+ | |||
+ | # Log web requests | ||
+ | ; | ||
+ | router_logging = true | ||
+ | |||
+ | ................ | ||
+ | |||
+ | [users] | ||
+ | # disable user signup / registration | ||
+ | ; | ||
+ | allow_sign_up = false | ||
+ | |||
+ | # Allow non admin users to create organizations | ||
+ | ; | ||
+ | allow_org_create = false | ||
+ | </ | ||
+ | ===== 起動 ===== | ||
+ | | ||
+ | sudo service grafana start | ||
+ | |||
+ | ===== アクセス ===== | ||
+ | |||
+ | http:// | ||
+ | ID:admin | ||
+ | Pass:admin | ||
+ | |||
+ | |||
+ | ===== タイムゾーン ===== | ||
+ | |||
+ | 標準だと**UTC**として扱われてしまうため、DBのColumnには**with TZ**を指定する | ||
+ | |||
+ | また、grafana側では、configuration -> preferences -> Timezone で設定する | ||
===== メモ ===== | ===== メモ ===== |
serverapps/monitor/grafana.1652500854.txt.gz · 最終更新: 2022/05/14 04:00 by hayashi