InfluxDB 管理工具
前言:
笔者刚接触influxdb,发现自带的web管理界面打不开,查询发现,官方自从1.3版本开始把web界面取消了,故笔者找了一下三种方式,便于对influx进行管理。
1、自带web管理
由于笔者使用版本是1.7版本,故退而求其次,在另一台服务器上安装1.2(低版本)的InfluxDB作为客户端,连接1.7版本InfluxDB服务器。
#下载 wget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.4.x86_64.rpm #安装 yum -y install influxdb-1.2.4.x86_64.rpm #配置 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 #预览
2、InfluxDBStudio
第三方开源监控软件
#下载地址: https://github.com/CymaticLabs/InfluxDBStudio/releases/download/v0.2.0-beta.1/InfluxDBStudio-0.2.0.zip #修改配置文件 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/InfluxDBStudio #预览
3、chronograf(强烈推荐)
支持influxdb的基础监控、管理以及数据展示、警报管理及数据库管理
#下载
wget https://dl.influxdata.com/chronograf/releases/chronograf-1.7.14.x86_64.rpm
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/
#预览如下图
本作品采用《CC 协议》,转载必须注明作者和本文链接
格式有问题 整理了一下
大神,这些工具不能插入数据吧