Description of problem: Add cron job that checks for fluentd and collectd changes and update the engine and hosts if there was a change We want this to be updated automatically without the user require to manually trigger it.
Please talk to Martin P. on integrating the metrics Ansible script into the oVirt Ansible host deploy batch of scripts. Once you do that, we can close this bug, IMHO.
Discussed and agreed to add '--quiet' and pass it from the cron job, so that no noise is logged if config.yml is missing.
No need to check for changes as Ansible handles this.
(In reply to Yaniv Kaul from comment #1) > Please talk to Martin P. on integrating the metrics Ansible script into the > oVirt Ansible host deploy batch of scripts. Once you do that, we can close > this bug, IMHO. Since we now have the cluster name as part of the record, and it only updates when running the metrics ansible, I think it would be valuable to run this at least once a day so if a host cluster was updated then it will be updated for the metrics as well.
The cron job does not need to check for changes. It just needs to run the script once in an interval. Yaniv L, what do you think should we set the interval to?
(In reply to Shirly Radco from comment #5) > The cron job does not need to check for changes. > It just needs to run the script once in an interval. > > Yaniv L, what do you think should we set the interval to? If doesn't cost us much I would run it every hour.
Shirly, we decided it is not needed anymore?
The script should be run was part of the ansible host deploy playbooks. When setting up oVirt metrics or if the user changes the metrics store parameters , move a host from cluster to cluster, update configuration files, etc. it will require running it manually.
Closing for now. Will re-open if we feel this is indeed required.