Description of problem: If the postgresql collectd plugin is not configured correctly it will fail Collectd from starting. We need to create it on a separate file and enable it only if its is actually configured.
verified ovirt-engine-metrics-1.0.2-1.el7ev.noarch [root@ls-engine1 ~]# ls /etc/collectd.d/ 20-builtins-conf-for-ovirt-engine.conf 30-write_http.conf postgresql.conf [root@ls-engine1 ~]# grep -R LoadPlugin /etc/collectd.d/ /etc/collectd.d/postgresql.conf:LoadPlugin postgresql <<<<--- /etc/collectd.d/30-write_http.conf:LoadPlugin write_http /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin disk /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin cpu /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin memory /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin load /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin nfs /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin entropy /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin swap /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin df /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin interface /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin aggregation /etc/collectd.d/20-builtins-conf-for-ovirt-engine.conf:LoadPlugin processes In bug about configurating BZ#1429861 this we need to tackle renaming this file to standard priority format 40-postgresql.conf and also fill the file as it at the moment only contains loading of the plugin: [root@ls-engine1 ~]# cat /etc/collectd.d/postgresql.conf LoadPlugin postgresql