Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-2857

Confusing outputs on `ps aux` for linux metrics node_exporter

Details

    Description

      Hi,

      If we have a node_exporter with custom collectors enabled, we will see incorrect data on ps aux commands, like:

      shell> pmm-admin add linux:metrics -- -collectors.enabled=diskstats,meminfo,netdev,vmstat
      
      shell> ps aux | grep node_exporter
      ...
      root     20450 3.2  0.0 1660248 15924 ?       Sl 13:48 0:13 /usr/local/percona/pmm-client/node_exporter -collectors.enabled=diskstats,filefd,filesystem,loadavg,meminfo,netdev,netstat,stat,time,uname,vmstat,meminfo_numa -web.listen-address=10.10.8.141:42000 -web.auth-file=/usr/local/percona/pmm-client/pmm.yml -web.ssl-cert-file=/usr/local/percona/pmm-client/server.crt -web.ssl-key-file=/usr/local/percona/pmm-client/server.key -collectors.enabled=diskstats,meminfo,netdev,vmstat

      As can be seen, there are two -collectors.enabled entries, and one of them (the first) is showing as if all default collectors were enabled.

      This may be related to PMM-1906

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agustin.gallego Agustín Gallego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Smart Checklist