Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 3. Deploying collectd and fluentd
Deploy collectd and fluentd on the Red Hat Virtualization hosts to collect logs and metrics.
You do not need to repeat this procedure if you create new hosts. The Manager configures the hosts automatically.
Procedure
- Log in to the Manager machine using SSH.
Copy
/etc/ovirt-engine-metrics/config.yml.exampleto 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
# cp /etc/ovirt-engine-metrics/config.yml.example /etc/ovirt-engine-metrics/config.yml.d/config.ymlCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Edit the
ovirt_env_nameandelasticsearch_hostparameters inconfig.ymland save the file. These parameters are mandatory and are documented in the file. 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:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Deploy
collectdandfluentdon the hosts:/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh
# /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow