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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 1.14.1
    • Fix Version/s: 2.0.0
    • Component/s: PMM Client
    • Labels:

      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

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated: