菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
0
0

InfluxDB 管理工具

原创
05/13 14:22
阅读数 687

配置

vim /etc/influxdb/influxdb.conf
[admin]

Determines whether the admin service is enabled.

enabled = true

The default bind address used by the admin service.

bind-address = ":8083"
[http]

Determines whether HTTP endpoint is enabled.

enabled = true

The bind address used by the HTTP service.

bind-address = ":8086"

打开防火墙

firewall-cmd --list-all // 查看所有端口
firewall-cmd --permanent --zone=public --add-port=8083/tcp // 放行 8083
firewall-cmd --permanent --zone=public --add-port=8086/tcp // 放行 8086
firewall-cmd --reload // 使规则生效

启动 Influxdb

systemctl start influxdb

访问

浏览器输入:http://ip:8083

预览

![InfluxDB 管理工具](https://cdn.learnku.com/uploads/images/201911/25/30983/EXsWGN00g1.png!/fw/1240)

**2、InfluxDBStudio**

> 第三方开源监控软件
> 

下载地址:

https://github.com/CymaticLabs/InfluxDBStu...

修改配置文件

vim /etc/influxdb/influxdb.conf
[http]

Determines whether HTTP endpoint is enabled.

enabled = true

The bind address used by the HTTP service.

bind-address = ":8086"

打开防火墙

firewall-cmd --list-all // 查看所有端口
firewall-cmd --permanent --zone=public --add-port=8086/tcp // 放行 8086
firewall-cmd --reload // 使规则生效

使用方式一:

用户可以运行该软件源码(need Visual Studio 2015)

使用方式二:

将下载的资源 解压,找到 InfluxDBStudio.exe,打开即可

使用说明:

https://github.com/CymaticLabs/InfluxDBStu...

预览

![InfluxDB 管理工具](https://cdn.learnku.com/uploads/images/201911/25/30983/4AWI6mgnkQ.png!/fw/1240)

![InfluxDB 管理工具](https://cdn.learnku.com/uploads/images/201911/25/30983/rlezJRF0ew.png!/fw/1240)

**3、chronograf(强烈推荐)**

> 支持influxdb的基础监控、管理以及数据展示、警报管理及数据库管理

下载

wget https://dl.influxdata.com/chronograf/relea...
sudo yum localinstall chronograf-1.7.14.x86_64.rpm

启动

chronograf

修改配置文件

vim /etc/influxdb/influxdb.conf
[http]

Determines whether HTTP endpoint is enabled.

enabled = true

The bind address used by the HTTP service.

bind-address = ":8086"

访问

localhost|ip:8888

开启防火墙端口

firewall-cmd --list-all // 查看所有端口
firewall-cmd --permanent --zone=public --add-port=8888/tcp // 放行 8888
firewall-cmd --permanent --zone=public --add-port=8086/tcp // 放行 8086
firewall-cmd --reload // 使规则生效

更多参考

https://docs.influxdata.com/

预览如下图

![InfluxDB 管理工具](https://cdn.learnku.com/uploads/images/201911/25/30983/0VSmuQOFmt.png!/fw/1240)

发表评论

0/200
0 点赞
0 评论
收藏
为你推荐 换一批