操作系统:Windows Server 2008 R2
IP:192.168.10.135
官方文档地址 :https://docs.influxdata.com/telegraf/v1.10/
2、安装包下载(windows)
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.10.3_windows_amd64.zip
unzip telegraf-1.10.3_windows_amd64.zip
3、安装前准备
(1)解压文件telegraf-1.10.3_windows_amd64.zip
(2)新建目录C:\Program Files\telegraf
(3)将解压后的文件telegraf.exe和telegraf.conf拷贝至C:\Program Files\Telegraf目录下
修改项1:influxdb地址
[[outputs.influxdb]]
urls = ["http://192.168.46.4:8086"]
修改项2:hostname
[agent]
hostname = "192.168.10.135"
5、启动程序
管理员权限打开powershell
执行:C:\Program Files\telegraf\telegraf.exe -service install
启动采集器:net start telegraf