Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Telegraf Agent Setup for Windows Server

Step 1 – Download Agent in Windows

  • https://portal.influxdata.com/downloads/

wget https://dl.influxdata.com/telegraf/releases/telegraf-1.21.1_windows_amd64.zip -UseBasicParsing -OutFile telegraf-1.21.1_windows_amd64.zip
Expand-Archive .\telegraf-1.21.1_windows_amd64.zip -DestinationPath 'C:\Program Files\InfluxData\telegraf'

Step 2 – Configuring Telegraf


PS> mkdir 'C:\Program Files\telegraf\conf'
PS> cd 'C:\Program Files\telegraf\conf'
# Create inputs.conf
# Create output.conf

Detailed

https://docs.influxdata.com/influxdb/v2.1/write-data/no-code/use-telegraf/

Step 3 – Start Telegraf


PS> telegraf --service install --config-directory 'C:\Program Files\telegraf\conf'

Example of Telegraf.conf

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x