此内容没有您所选择的语言版本。

Chapter 3. Deploying collectd and fluentd


Deploy collectd and fluentd on the Red Hat Virtualization hosts to collect logs and metrics.

Note

You do not need to repeat this procedure if you create new hosts. The Manager configures the hosts automatically.

Procedure

  1. Log in to the Manager machine using SSH.
  2. Copy /etc/ovirt-engine-metrics/config.yml.example to create /etc/ovirt-engine-metrics/config.yml.d/config.yml:

    # cp /etc/ovirt-engine-metrics/config.yml.example /etc/ovirt-engine-metrics/config.yml.d/config.yml
  3. Edit the ovirt_env_name and elasticsearch_host parameters in config.yml and save the file. These parameters are mandatory and are documented in the file.
  4. Optionally, if you need to connect an additional Red Hat Virtualization Manager or an additional elasticsearch installation, run the following commands to copy the engine public key to your Metrics Store virtual machine:

    # mytemp=$(mktemp -d)
    
    # cp /etc/pki/ovirt-engine/keys/engine_id_rsa $mytemp
    
    # ssh-keygen -y -f $mytemp/engine_id_rsa > $mytemp/engine_id_rsa.pub
    
    # ssh-copy-id -i $mytemp/engine_id_rsa.pub root@{elasticsearch_host}
    
    # rm -rf $mytemp
  5. Deploy collectd and fluentd on the hosts:

    # /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部