Percona Monitoring and Management (PMM) provides an excellent solution for system monitoring. Sometimes, though, you’ll have the need for a metric that’s not present in the list of node_exporter metrics out of the box. In this post, we introduce a simple method and show how to extend the list of available metrics without modifying the node_exporter code. It’s based on the textfile collector.
Enable the textfile collector in pmm-client
This collector is not enabled by default in the latest version of pmm-client. So, first let’s enable the textfile collector.
# pmm-admin rm linux:metrics OK, removed system pmm-client-hostname from monitoring. # pmm-admin …[Read more]