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

pmm-admin add says it failed when it didn't

    XMLWordPrintable

    Details

      Description

       I'm trying to run PMM in kubernetes, and it's actually working, but when I run `pmm-admin add`, it reports that it failed. When opening the log file, it shows that it succeeded, and I am actually seeing data being reported to the server. If it isn't showing any errors in the logs, is there a way to see why it is failing? I see the same results when running:

      • pmm-admin add mysql
      • pmm-admin add mysql:metrics
      • pmm-admin add mysql:queries
      # pmm-admin add mysql --user root --socket /vtdataroot/tabletdata/mysql.sock
      [linux:metrics] Error adding linux metrics: "service" failed: exit status 1, Starting pmm-linux-metrics-42000
      Unable to start, see /var/log/pmm-linux-metrics-42000.log
      
      # cat /var/log/pmm-linux-metrics-42000.log
      level=info msg="Starting node_exporter (version=0.14.0+percona.2, branch=master, revision=8ea8a4521f8f42d581847ee3d271dbb2a1fe8146)" source="node_exporter.go:142"
      level=info msg="Build context (go=go1.9.2, user=jenkins@os-centos-6-x64-7795, date=20180117-09:28:05)" source="node_exporter.go:143"
      level=info msg="Enabled collectors:" source="node_exporter.go:162"
      level=info msg=" - filefd" source="node_exporter.go:164"
      level=info msg=" - vmstat" source="node_exporter.go:164"
      level=info msg=" - meminfo" source="node_exporter.go:164"
      level=info msg=" - netdev" source="node_exporter.go:164"
      level=info msg=" - netstat" source="node_exporter.go:164"
      level=info msg=" - stat" source="node_exporter.go:164"
      level=info msg=" - time" source="node_exporter.go:164"
      level=info msg=" - diskstats" source="node_exporter.go:164"
      level=info msg=" - filesystem" source="node_exporter.go:164"
      level=info msg=" - loadavg" source="node_exporter.go:164"
      level=info msg=" - uname" source="node_exporter.go:164"
      level=info msg="Starting HTTPS server of 10.244.6.74:42000 ..." source="server.go:106"
      

       

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                lalit.choudhary Lalit Choudhary
                Reporter:
                derekperkins Derek Perkins
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: