Hello I’m running pmm-agent on a vm. I need to add/change default node exporter arguments.
For example pmm-agent starts node_exporter with –no-collector.mdadm wich I need to monitor. I also need to enable netdev.address-info collector. Is this posible ?
Couldn’t find anything in documentation related with modifying startup argument.
You can simply start another node_exporter with that only option enabled and filter the service that you need to monitor. We set the listening address to another port:
For example, if I need just systemd metrics
/usr/local/percona/pmm2/exporters/node_exporter --collector.systemd --collector.systemd.unit-include=(sshd).service --web.listen-address=127.0.0.1:42010
node_exporter with PMM has some collectors enabled, so don’t duplicate it.