Configuration
Python 3.
CentOS o fedora
yum install python3
Debian
apt-get install python3
PIP
CentOS o fedora
yum install python3-pip
Debian
apt install python3-pip
Influxdb library
pip3 install influxdb
The plugin will take the stats that can be viewed by executing the query: "show stats". :
According to InfluxDB documentation:
https://docs.influxdata.com/platform/monitoring/influxdata-platform/tools/show-stats/