aboutsummaryrefslogtreecommitdiffstats
path: root/src/collectd
AgeCommit message (Collapse)AuthorFilesLines
2021-05-27[docker] Reduce the number of build steps in containersEmma Foley2-0/+43
* Move collectd_apply_pull_request.sh to src/collectd/, which is where the Makefile expects this script to be anyway * Use ARG instead of ENV in collectd container for COLLECTD_FLAVOR, COLLECTD_PULL_REQUESTS, WITH_DPDK * Move the experimental sample configs to src/collectd The configs are copied into the src/collectd directory within the container anyway, so this skips a step in the container build. * Remove initial package installation in containers Move the installation of these packages to the package install steps in the build script in systems/ instead. * Remove unnecessary WORKDIR command The WORKDIR {repo_dir} is unnecessary, since the following commands are using absolute paths rather than relative paths. Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I52b96a651cb5d9b644f11f5407cabf3fb21cb6a9
2020-11-19[container][experimental] Update experimental containerEmma Foley4-0/+190
* Use CentOS 8 instead of CentOS7 * Remove collectd-openstack-plugins * Update the list of PRs that are applied logparser and capabilities were merged * Move the experimental configs to collectd_sample_configs{,-latest} Change-Id: Ic1133ee7172e092ad4713c94886f306bc4d8e6ec Signed-off-by: Emma Foley <efoley@redhat.com>
2020-11-19[container][latest] Rename and update barometer-collectd-latestEmma Foley19-0/+0
Collectd changed the upstream default to main, and Barometer added a few changes to incorporate this. One change was renaming the `barometer-collectd-master` container to `barometer-collectd-latest`, since `barometer-collectd-main` didn't make sense semantically, as we use the stable container as the "main" reference. At the time, we didn't have the changes made in releng to build the new container, so container renaming was paused. Now that the change is merged in releng (and has been for a while), and the containers are being updated, this change should happen, so that the container gets published. Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I4ee91c289b9e7477157bea148452be58343dc733
2020-10-06Enabling dpdk_telemetry pluginJabir Kanhira Kadavathu1-0/+22
Enabling dpdk_telemetry plugin with One Click Install. Added the config. templates and the related Documentation. Signed-off-by: Jabir Kanhira Kadavathu <jabir.kanhira.kadavathu@intel.com> Change-Id: Ibecd96d4102cd76a71d31613879ae57950f5108f
2020-07-14Temperorily revert "Rename collectd container to barometer-collectd-latest"Emma Foley19-0/+0
This reverts commit 59338794c8ae8ff82c00dc14ea47a9279cc213d4. The reason for reverting is that there is not yet a container image available on Dockerhub for barometer-collectd-latest Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ia6e37af99787a6c02eb368fc7bfdd9d584716f2b
2020-06-30Rename collectd container to barometer-collectd-latestEmma Foley19-0/+0
Change-Id: I0dfff659b4e05e3e619ea62f1771db79f7a8f0df Signed-off-by: Emma Foley <efoley@redhat.com>
2020-05-25Update SNMP agent configEmma Foley1-4/+0
The one-click install was not working with SNMP. The manual install also wasn't working due to the ``Instance true`` config option in the config. ``Instance true`` is not a valid config option for snmp agent. This option appears in the stable container config, and also in the ansible config, but not in the master container. Removing this unsupported option allows the config to be read and collectd to be started. JIRA: BAROMETER-134 Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: If154b3190d82d1cd3638a9c258d2b48bb0efe9af
2019-12-17Updates/Fix on Legal/License Headersjabirkkclt8-15/+23
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Id29ba83455d2cea21ec634d3e0eee38d84de465b
2019-05-08Merge "docker: Add support for experimental collectd container"Matthias Runge1-10/+5
2019-05-07barometer: update conf filesKamil Wiatrowski2-0/+40
Updated intel_pmu.conf for ansible installation to monitor cores 0-4 by default. Add sample conf files for plugins supported by master container: pcie_errors and write_prometheus. Change-Id: Ifedff2f3b099f5d7b5a88d14909c3879d38e4e64 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-05-07docker: Add support for experimental collectd containerKamil Wiatrowski1-10/+5
Experimental container is based on master branch and includes set of pull requests with experimental features. By default one addtional PR is included - logparser. Change-Id: I455122b23b6de382f6ef75a790f7b052784b59ac Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-11-22barometer-collectd: Add support for DPDK in containerKamil Wiatrowski1-0/+3
Build dpdk plugins in collectd container. Change-Id: Ifdca827a419d6d3d4d9c6070d3a581372df8a2f9 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-09-07Add support for 'collectd-master' containerRadoslaw Jablonski19-3/+1183
'collectd-master' contains development versions of collectd with the latest features. It is based on master branch from collect repository. Change-Id: I720b5e5938b402281674ee73851c5f611e4d1178 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-08-03Merge "Enable write_redis plugin for barometer-collectd"Aaron Smith1-0/+1
2018-07-10Merge "docs: update userguide with new option for intel_pmu plugin"Aaron Smith1-0/+1
2018-07-10Enable write_redis plugin for barometer-collectdTomofumi Hayashi1-0/+1
This change is to enable write_redis plugin in collectd due to DMA local-agent is going to use the plugin. Change-Id: I522b41278bb020a48f33ac18f4ad08351e51ca36 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2018-06-18Disable lvm plugin buildTsaLaGi1-0/+1
JIRA: BAROMETER-103 The lvm plugin will not build due to a deprecated library. This patch will disable the building of the plugin until upstream collectd can correct the issue. Collectd issue #2820 https://github.com/collectd/collectd/issues/2820 Change-Id: Idcc8e274cef87e1ad0c62cbe9097a24b298adc5f Signed-off-by: TsaLaGi <aasmith@redhat.com>
2018-06-15docs: update userguide with new option for intel_pmu pluginKamil Wiatrowski1-0/+1
Update the userguide for intel_pmu with new "Cores" option available in plugin configuration. Added sample config with default configuration. Change-Id: Ibe4d451131dc2c9ae0282f018c7e23596f4bf2c1 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2017-11-30src: hugepages configuration bugfixMaryam Tahhan1-1/+1
Change-Id: Ia3e747b29bf5b00e135ec15c6134d827d4562c47 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-11-29docker: add kafka support to collectdMaryam Tahhan10-10/+61
Adds kafka support to collectd, cleaned up configuration files and updates documentation. Change-Id: Ie66ed22e8904e08e59aa7047d6afc9d176f3fb02 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-11-20Merge "docker: Added docker container for running collectd"Maryam Tahhan4-1/+25
2017-11-17docker: Added docker container for running collectdTaras Chornyi4-1/+25
Added InfluxDB and Grafana containers. Change-Id: Ifa46fac03c0175267d9cbffed5354193ad182733 Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
2017-11-15src: ensure hostname is included in collectd confMaryam Tahhan1-1/+17
As part of the final step of copying all the appropriate configuration files to /opt/collectd/etc/collectd.conf.d make sure that the hostname is set. Change-Id: Iff1634ebcc647f7b6d6ec991d98bd199367f9d4e Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-10-24src: fix src build issuesMaryam Tahhan4-3/+36
Change-Id: I8abf40a0034110dc504c227ffba1ff5e9ec6850b Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
2017-09-11src: add pmu-tools to the src buildMaryam Tahhan1-0/+1
Change-Id: Ia9e0cbf6793a6ce5be5253f65cabd0813ff1e968 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-07-26src: add snmp agent plugin configurationShobhi3-0/+413
*snmp_mib_config: copies mibs to net-snmp defined path. Change-Id: Id236073f6d0371a0181043898d8f4fc6da0be3a2 Signed-off-by: Shobhi <shobhi.jain@intel.com>
2017-07-26src: add virt plugin configurationShobhi1-0/+30
* adds sample configuration file for virt plugin. * updates package list for libvirt package. Change-Id: I564fd89f7eaaa170962f5d05bbe26424ab99f6e2 Signed-off-by: Shobhi <shobhi.jain@intel.com>
2017-07-26src: add ovs stats configuration fileShobhi1-0/+24
Change-Id: Ibbfea8f70d223d0e1cd10f63dbf24b95c6e713bf Signed-off-by: Shobhi <shobhi.jain@intel.com>
2017-07-20src: add OVS PMD stats plugin configurationShobhi4-1/+47
* ovs_pmd_stats: wrapper script to call actual ovs_pmd_stats python script with it's argument. * ovs_pmd_stats_config: script to check status of OVS service & copy ovs_pmd_stats wrapper script to /usr/local/src/. * Updates exec plugin configuration for running ovs pmd stats wrapper script. * Updates makefile to include ovs_pmd_stats_config file. Change-Id: I78be0bf944e816ab23d30f1c565884a1180724f7 Signed-off-by: Shobhi <shobhi.jain@intel.com>
2017-05-23src: build and install collectd on centos/rhelMaryam Tahhan1-1/+2
Modify build and dependency scripts for centos/rhel builds. Change-Id: I1fafaf3392d9f22837ce4ed3fa0f84c13ead0698 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-05-16makefile: update collectd Makefile with intel_pmu configurationRoman Korynkevych1-1/+6
Update Makefile with intel_pmu collectd plugin required capabilities and environment variables set. Change-Id: Ifd9f53f4f87ea802ff280a611831f1dc8e2fb177 Signed-off-by: Roman Korynkevych <romanx.korynkevych@intel.com>
2017-03-23dpdkevents: add example config and update makefilePrzemyslaw Szczerbik1-0/+35
Change-Id: I85edcbbf52dc3bd4d0e53c5076267b9f3f6c2284 Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
2017-02-07Merge "src: Update exec plugin configuration"Maryam Tahhan1-1/+1
2017-02-07Merge "src: add mcelog sample config"Maryam Tahhan1-0/+20
2017-02-07src: add mcelog sample configPrzemyslaw Szczerbik1-0/+20
Change-Id: Ifdb7677cf175a5b1a213c4699fd2d658eac11c69 Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
2017-02-07src: Update exec plugin configurationPrzemyslaw Szczerbik1-1/+1
Change write_notification.sh script path to absolute. Set default user for exec plugin to collectd_exec. Update user guide. Change-Id: I57fba31d42e0a267d0ea05750fcb4eef49f6e79e Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
2017-02-07src: don't add executable permission bits to collectd.servicePrzemyslaw Szczerbik1-1/+0
Change-Id: I5133df1ba7108d2cc7a8325a3fb74e1db35c869b Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
2017-02-07src: add CAP_SYS_RAWIO capability to collectd.servicePrzemyslaw Szczerbik1-1/+1
Intel RDT plugin is using model-specific registers (MSRs), which require additional CAP_SYS_RAWIO capability. Change-Id: Id58813515e0ef1ea11cd86165a05c84d48681b16 Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
2016-12-13src: only copy config if it doesn't existMaryam Tahhan2-8/+14
Only copy sample configuration files if those files don't already exist. Change-Id: Id72761513cc053906122d638c8c21dee1a77dc76 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-12-05userguide: update with plugin build infoMaryam Tahhan1-7/+0
Update the userguide with build instructions for individual plugins. Change-Id: I8c5a16a8749ff4a45692b6d09a0c7a4b27b31e0c Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-12-05src: build all dependencies and pluginsMaryam Tahhan9-3/+186
Build all dependencies and plugins. Provide sample plugin configurations and update user guide. Change-Id: I5170c84529e514e12bb1bd4dc34ecdd93eb764d7 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-09-28src: build collectd from main repoTaras Chornyi1-2/+2
Change-Id: I6041b6c1eb7f37ce3e2f17f1a42cb2cba79e9672 Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
2016-09-07src: Fixed dpdkstats and ceilometer-plugin build issues.Taras Chornyi1-1/+1
Change-Id: Ie8abb8e6be3c5c2100b672c83f488177c8b66638 Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
2016-07-12bugfix: collectd with dpdk and collectd-ceilometerMaryam Tahhan1-1/+1
Change-Id: I6e78625b74b9588ce24db2bde7523dc4c1dd5d6e Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2016-05-19src: add makefiles to clone and build dependenciesMaryam Tahhan1-0/+101
Add Makefiles to clone and build DPDK and collectd-with-DPDK. Change-Id: Icb0e95e4b8ad758562bfd009850b9522e7a0418a Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Christoph Meyer <christoph.meyer@ericsson.com> Reviewed-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Thomas Monjalon <thomas.monjalon@6wind.com> Reviewed-by: Jarmo Virtanen <jarmo.virtanen@nsn.com> Reviewed-by: John McNamara <john.mcnamara@intel.com>