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

Add installation the exemple.prom to pmm-client package.

    XMLWordPrintable

    Details

    • Type: Admin & Maintenance Task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      During installation/updating pmm-client 

      https://github.com/percona/node_exporter/pull/7/files example.prom file 

      should placed to /usr/local/percona/pmm-client/textfile-collector/example.prom

      and also the next substitution should be done:

      sed -i  "s/,meminfo_numa/,meminfo_numa,textfile/" /etc/init.d/pmm-linux-metrics* || sed -i  "s/,meminfo_numa/,meminfo_numa,textfile/" /etc/systemd/system/pmm-linux-metrics*.service || sed -i  "s/,meminfo_numa/,meminfo_numa,textfile/" /etc/init/pmm-linux-metrics*.conf || true
      
      
      
      pmm-admin restart --all
      

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  evgeniy.patlan Evgeniy Patlan
                  Reporter:
                  andrii.skomorokhov Andrii Skomorokhov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 3 hours
                    3h