2.Telegraf
telegraf-1.17.0_windows_amd64.zip 文件夹解压后有两个文件:
• telegraf.exe 不能直接执行,需要在命令行里运行
• telegraf.conf 配置文件
## Name of the file to be logged to when using the "file" logtarget. If set to
## the empty string then logs are written to stderr.
logfile = "xxxx/telegraf.log"
## 默认的账号密码,也在配置文件中。之后配置Grafana中的数据源会用到。
## HTTP Basic Auth
username = "telegraf"
password = "metricsmetricsmetricsmetrics"
3.InfluxDB
influxdb-1.7.6_windows_amd64.zip 解压到文件夹中:
influx.exe 表示客户端
influxd.exe 表示服务端
influx_inspect.exe 表示查看工具
influx_stress.exe 表示压力测试工具
influx_tsm 表示数据库转换工具(将数据库从 b1 或 bz1 格式转换为 tsm1 格式)
influxdb.conf 是配置文件
修改 influxdb.conf 配置文件,主要是修改三个文件夹路径:
[meta]
# Where the metadata/raft database is stored
dir = "xxxx/meta