![]() Change the urloption to point at your influxdb instance. Open the configuration file telegraf/nfand find the ]section. When using Powershell, we first need to create a place to store the Telegraf config file, then we can copy the sample config: mkdir telegrafĭocker run -rm telegraf -sample-config > telegraf/nf I had some trouble mapping the config file, so I ended up opening the exec and using VI to change the nf. You can get the Docker again with Kitematic, just add a new one and search for it. This will send them to a time series datastore like InfluxDB. To collect server, network appliance and application telemetry and metric you can use Telegraf. You should see a nice little line chart showing up. Goto you the dashboard and add a graph to it. ![]() Open Grafana ( and goto to data sources. Add your InfluxDB here: You can find more info about the InfluxDB shell here Display the data in Grafana INSERT cpu,host=serverA,region=us_west value=0.64 # Add some data to it (repeat it a couple of times so you can display a line chart later on) We are going to add some test data to it, so we can check if everything works in Grafana before we proceed: # Select the database you just created Check if the database is created with Show Databases . Type influx to connect to the InfluxDB CLI.Ĭreate a database with CREATE DATABASE mydb . If you use Kitematic, you can access the Influx shell by going to Exec in the topbar. If you go for the Powershell way: $ docker run -p 8086:8086 `Ĭhange $PWD to you host folder. ![]() Under settings, make sure you map the /var/lib/influxdb folder to your host. When using Powershell install Grafana as followed: docker run -d -p 3000:3000 `Īfter you are done, you can access Grafana on and login with admin/ Installing InfluxDBĪgain, if you use Kitematic, just click +new and search for InfluxDB. After you installed the container you can set the Volumes to map the configuration file and storage location to you Host. You will get a lot of containers to choose from, Grafana-xxl is a good choice because it contains a lot of plugins. If you use Kitematic, then you can simply click +new and search for Grafana. If you are new to Docker, Kitematic is an easy way to get started. You can use Powershell or Kitematic to manage your Docker containers. Installing Dockerĭownload here the latest version of Docker for Win 10 Pro 64bit and install it. If you have a Windows environment, then the quickest way of getting up and running is using Docker. With Grafana you can create really nice dashboard, using data from different sources. So when we moved to a new office it was time to get something nice on the wall. I have been using PRTG for monitoring our network for over 5 years now, but I never liked the look and feel of the dashboards.
0 Comments
Leave a Reply. |