Menu Close

8.10. 安装 PCP 向量

这个步骤描述了如何安装 pcp 向量

先决条件

  1. 配置了 PCP。如需更多信息,请参阅使用 pcp-zeroconf 设置 PCP
  2. grafana-server 被配置。如需更多信息,请参阅设置 grafana-server

步骤

  1. 安装 pcp-pmda-bcc 软件包:

    # dnf install pcp-pmda-bcc
  2. 安装 bcc PMDA:

    # cd /var/lib/pcp/pmdas/bcc
    # ./Install
    [Wed Apr  1 00:27:48] pmdabcc(22341) Info: Initializing, currently in 'notready' state.
    [Wed Apr  1 00:27:48] pmdabcc(22341) Info: Enabled modules:
    [Wed Apr  1 00:27:48] pmdabcc(22341) Info: ['biolatency', 'sysfork',
    [...]
    Updating the Performance Metrics Name Space (PMNS) ...
    Terminate PMDA if already installed ...
    Updating the PMCD control file, and notifying PMCD ...
    Check bcc metrics have appeared ... 1 warnings, 1 metrics and 0 values

其他资源

  • pmdabcc(1) man page