Getting ready
We must prepare by obtaining a copy of the latest InfluxDB package as distributed by influxdata. At the time of this edition, the latest version is 1.7.8, released on August 21, 2019. Download the latest copy from https://portal.influxdata.com/downloads/.
Later, we simply need a root-capable user to install InfluxDB as a system-wide service. Use apt or yum (or any relevant package management system) to install the package on any PostgreSQL server we want to monitor.
Don't forget to follow the instructions in the Installing and configuring Telegraf recipe and the Adding a custom PostgreSQL monitor to Telegraf recipe so that there is a fully functional Telegraf data collector. The custom PostgreSQL metric data may also be useful ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access