aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-05-27[docker][experimental] Allow COLLECTD_TAG to be passed to container buildEmma Foley1-2/+3
This is an optional build arg that overrides the defaults that are set by COLLECTD_FLAVOR This should let the user pull from an arbitrary collectd branch (e.g. a WIP branch or a PR branch from upstream) Change-Id: I6d0ede2b8b57f28e152e53eddae378ac6c722706 Signed-off-by: Emma Foley <efoley@redhat.com>
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 Foley20-3/+3
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-11-19[container][collectd] Update barometer-collectd container for CentOS 8Emma Foley2-12/+9
Update collectd to 5.12 Add in CentOS as base for the barometer-collectd container Remove openstack plugins - they are not used anymore Use packaged DPDK (v18.11 in CentOS 7 amd v19.11 in CentOS 8) Install packages from package manager instead of building libpqos, pmu-tools and librdkafka Combine install commands into one for CentOS8 (systems/centos/8/build_base_machine.sh) These changes reduce the size of the container from 1.7GB to ~825MB. Change-Id: I7e474f9578cdbcc7cce8c4fbc5e297eab89fd371 Signed-off-by: Emma Foley <efoley@redhat.com>
2020-10-06Enabling dpdk_telemetry pluginJabir Kanhira Kadavathu2-0/+23
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-08-25Upgrading dpdk version to 19.11Jabir Kanhira Kadavathu2-6/+6
Upgrading dpdk version from 18.11 to 19.11 Added notes regarding backward compatability. Signed-off-by: Jabir Kanhira Kadavathu <jabir.kanhira.kadavathu@intel.com> Change-Id: Id95598ca92efd8c39025ea295ddf3521b138c79c
2020-07-14Temperorily revert "Rename collectd container to barometer-collectd-latest"Emma Foley20-3/+3
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 Foley20-3/+3
Change-Id: I0dfff659b4e05e3e619ea62f1771db79f7a8f0df Signed-off-by: Emma Foley <efoley@redhat.com>
2020-06-30Update collectd tags to use main instead of masterEmma Foley1-5/+5
The branch names have been updated, and main has replaced master, which will no longer be updated. Change-Id: Idfce21554594f15a831c8b7ec769eb85d52068b1 Signed-off-by: Emma Foley <efoley@redhat.com>
2020-06-04Merge "Moving DPDK Verion From 16.11 to 18.11. Updated the related section ↵Matthias Runge2-3/+3
in userguide. Also updated the change in kni location for 18.11."
2020-05-28Merge "Update SNMP agent config"Emma Foley1-4/+0
2020-05-27Moving DPDK Verion From 16.11 to 18.11.jabirkkclt2-3/+3
Updated the related section in userguide. Also updated the change in kni location for 18.11. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: If5f71f1803c65031b2c759052f571ce55b9ed4b6
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
2020-05-22Update collectd container to use 5.11Emma Foley1-1/+1
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I1867ec05011a58b16a0d88bd9bd3fdfd7ac5d2e3
2019-12-17Merge "Updates/Fix on Legal/License Headers"Matthias Runge14-27/+41
2019-12-17Updates/Fix on Legal/License Headersjabirkkclt14-27/+41
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Id29ba83455d2cea21ec634d3e0eee38d84de465b
2019-12-16Revert "Updating the DPDK Version to 18.11 (Latest Stable Release) and ↵jabirkkclt1-1/+1
respective information in teh one click install userguide." This reverts commit 4fc25349916eca67d27dbf193fc69d1d0afecf3c. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: I5ec8ff8e90a6fa5bd5f7d0eda22e0e9d28427312
2019-12-09Fix the Makefile for intel-cmt-cat so it can be build without errors onjabirkkclt1-1/+3
CentOS 7. Mount the /sys/fs/resctrl from host to container to avoid issues with intel_rdt plugin. Change-Id: I04d22fccb950aabbde774c1850a5b44ee57908f5 Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-11-22Updating the DPDK Version to 18.11 (Latest Stable Release) and respective ↵jabirkkclt1-1/+1
information in teh one click install userguide. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Ib0b0892eed4f654068bf376d9f2b9da2e6043b74
2019-11-08Moving the collectd version from 5.8 to 5.10jabirkkclt1-1/+1
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: I1579a2bd0ef2280134fc13183ebafeb444b752f9
2019-05-08Merge "docker: Add support for experimental collectd container"Matthias Runge2-16/+24
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 Wiatrowski2-16/+24
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>
2019-04-27barometer: update DMA's vendoring packagesTomofumi Hayashi188-1999/+166898
Change-Id: I0578b094f1ecdaed20c906be2ba29d51b8089d7c Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2019-01-18Fix wrong image name in test codeToshiaki Takahashi1-1/+1
This change fix the name of the container image to be tested from the past name "LocalAgent" to the current name "DMA". This also fix python function names, comments and log output. Change-Id: I8bd8d1d884f6ff59c7e52da31455bc7f042ee9eb Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-11-22barometer-collectd: Add support for DPDK in containerKamil Wiatrowski2-0/+11
Build dpdk plugins in collectd container. Change-Id: Ifdca827a419d6d3d4d9c6070d3a581372df8a2f9 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-11-02src, docker: Change pkg import path of DMAToshiaki Takahashi2-2/+2
Different repository from OPNFV repository was temporary used as our own go package paths of DMA. Since the DMA code was merged in OPNFV Barometer, we change the import path to the Barometer repository and we simplify Dockerfile. Change-Id: I49aba163d3bd93a9edb48ce10bd4f69a43c2e28a Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-09-10Merge "Add support for 'collectd-master' container"Aaron Smith20-4/+1191
2018-09-07Add support for 'collectd-master' containerRadoslaw Jablonski20-4/+1191
'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-09-07src: Add DMA localagentToshiaki Takahashi258-0/+60007
Change-Id: Ibcee814fbc9a904448eeb368a1a26bbb69cf54aa Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
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>
2018-03-23Update repo link for collectd-ceilometer-pluginEmma Foley1-1/+1
Since Ceilometer support was removed from the collectd-ceilometer-plugin[1], the repo name is misleading. So the repo name needed to be updated [2] This change updates references to the collectd-ceilometer-plugin repo to point to collectd-openstack-plugins repo: * in deployment operations * in documentation i.e. links to docs Dependencies: [1] https://review.openstack.org/#/c/490823/ [2] https://review.openstack.org/#/c/500768/ This is dependant on the repo rename Change-Id: I43facbd53bca5df3f7e51d978ae2843c187282d4 Signed-off-by: Emma Foley <emma.l.foley@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 Tahhan13-10/+140
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 Tahhan5-1/+27
2017-11-17docker: Added docker container for running collectdTaras Chornyi5-1/+27
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-11-15src: update to use collectd 5.8.0Maryam Tahhan2-2/+2
Update the src build to use collectd 5.8.0 instead of master. Update the PMU build to ensure it download all event files. Change-Id: Ib71ee6fc0ed7960368ce1b93fc9ca9bfbb16ba05 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-10-24src: fix src build issuesMaryam Tahhan6-5/+42
Change-Id: I8abf40a0034110dc504c227ffba1ff5e9ec6850b Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
2017-10-02Updates the COLLECTD_OPENSTACK branch used in the MakefilesEmma Foley1-1/+1
Change-Id: I53e05b37cbcf414a5562f1100280687359635ac0 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2017-09-13src: rename dir - collectd-ceilometer-plugin/ -> collectd-openstack-plugin/Emma Foley2-3/+3
Updating the directory to keep naming consistent with project rename [1] i.e. no specific mention of ceilometer. [1] https://review.openstack.org/#/c/500768/ This is an "internal" change, independant of repo rename Change-Id: I6cf22c081aa1e40f64995be40b6225855faf4092 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2017-09-11src: add pmu-tools to the src buildMaryam Tahhan4-0/+86
Change-Id: Ia9e0cbf6793a6ce5be5253f65cabd0813ff1e968 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-09-08src: COLLECTD_CEILOMETER_* -> COLLECTD_OPENSTACK_*Emma Foley2-8/+8
Since Ceilometer support was removed from the collectd-ceilometer-plugin[1] so references to collectd-ceilometer-plugin are misleading. This change updates variables COLLECTD_CEILOMETER_* -> COLLECTD_OPENSTACK_* [1] https://review.openstack.org/#/c/490823/ This is an "internal" change, independant of repo rename Change-Id: I1247b59070fcb1eb378d9c702ddf9df0c26da878 Signed-off-by: Emma Foley <emma.l.foley@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>