JMeter+Grafana+Telegraf+InfluxDB进行漂亮的可视化图形报告-2(InfluxDB)

sudo mkdir /usr/local/influxdb

wget https://dl.influxdata.com/influxdb/releases/influxdb-1.7.10.x86_64.rpm
sudo yum localinstall influxdb-1.7.10.x86_64.rpm

sudo vim /etc/influxdb/influxdb.conf

 sudo service influxdb restart

sudo systemctl start influxdb.service 
sudo systemctl status influxdb.service

influx
show databases
CREATE DATABASE "jmeter"
use jmeter
CREATE USER "admin" WITH PASSWORD 'admin' WITH ALL PRIVILEGES

同上创建telegraf数据库:performance

influx
show databases
CREATE DATABASE "performance"
use performance
CREATE USER "admin" WITH PASSWORD 'admin' WITH ALL PRIVILEGES

 

 

 

posted @ 2021-11-24 17:48  子小逗子  Views(85)  Comments(0Edit  收藏  举报