This repository refers to the following links
Still working on telegraf.config... It is not a completed project! Trying to find how to 'monitor host command cpu usage grafana'
chmod +x install_docker.sh
./install_docker.sh
docker-compose up -d
docker exec -it <docker_name> bash
# entering influx
influx
show databases;
use influxdb
To check your measurements, below list will be shown.
show measurements
# ----
# cpu
# disk
# diskio
# kernel
# mem
# processes
# procstat
# procstat_lookup
# swap
# system
----
-
memory
SELECT mean("available_percent") AS "AVAILABLE_PERCENT", mean("used_percent") AS "USED_PERCENT" FROM "mem" WHERE $timeFilter GROUP BY time($__interval) fill(null)