aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2020-05-22Update collectd container to use 5.11Emma Foley1-1/+1
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: I1867ec05011a58b16a0d88bd9bd3fdfd7ac5d2e3
2020-01-30Temperarily disable SNMP in one click installEmma Foley1-1/+1
SNMP config has been causing the one click install to fail. Disabling it temperorily so that it doesn't block Iruya release JIRA: BAROMETER-134 Change-Id: Ia7944eb6461497c0cd17a2f7ba5b2c2018ffd2a2 Signed-off-by: Emma Foley <efoley@redhat.com>
2019-12-17Merge "Updates/Fix on Legal/License Headers"Matthias Runge24-30/+184
2019-12-17Updates/Fix on Legal/License Headersjabirkkclt24-30/+184
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Id29ba83455d2cea21ec634d3e0eee38d84de465b
2019-12-13Merge "Fix the Makefile for intel-cmt-cat so it can be build without errors ↵Matthias Runge1-5/+20
on CentOS 7. Mount the /sys/fs/resctrl from host to container to avoid issues with intel_rdt plugin."
2019-12-12Merge "Add capabilities plugin (PR 3292 on collectd github) to experimental ↵Emma Foley5-0/+68
container. Update one-click install of experimental container to add capabilities plugin."
2019-12-09Fix the Makefile for intel-cmt-cat so it can be build without errors onjabirkkclt1-5/+20
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-12-06Add capabilities plugin (PR 3292 on collectd github) to experimental ↵jabirkkclt5-0/+68
container. Update one-click install of experimental container to add capabilities plugin. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: I1753c4d8af279ad9c7de29e7a198dbd8161c516d
2019-12-06Py2 to Py3 migration updates for VES App and the Dockerfilejabirkkclt2-4/+4
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: I2e4934518f46afb060748ab08fd2ea9bfc0271d6
2019-11-25Merge "Format change to align with Influxdb_hosts"Matthias Runge1-1/+1
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-11-07Format change to align with Influxdb_hostsjabirkkclt1-1/+1
Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: Ie368f2d32ce1291036f6fff95cd13b0dbdeced24
2019-11-06Added a comment under grafana_hosts to convey that Influxdb and Grafana ↵jabirkkclt1-0/+1
should be same host. Signed-off-by: jabirkkclt <jabir.kanhira.kadavathu@intel.com> Change-Id: I82732de3eacd7abda5d63059d988452e8141201b
2019-10-02Update ansible scripts to use py3 for Ubuntu and FedoraEmma Foley3-4/+60
Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ia62933a4b824f1280a693fc8004d29c67dc5e2ac
2019-05-08ansible: add variable to select collectd containerKamil Wiatrowski8-4/+534
Add a variable to playbooks to select type of collectd container. Container flavor can be stable, master or experimental. Change-Id: Ie591ca3b7816210c377c5bffbb54117f8ee764aa Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-05-08Merge "docker: Add support for experimental collectd container"Matthias Runge7-1/+168
2019-05-07barometer: update conf filesKamil Wiatrowski1-1/+2
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 Wiatrowski7-1/+168
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-10ansible: update docker userguide for collectd_vesKamil Wiatrowski1-1/+1
Change-Id: I54a2d46b8acecea6f6278f130d7567acc813c324 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-04-03ansible: Add zookeeper to one click installKamil Wiatrowski4-4/+55
Previously 'zookeeper' docker container should be installed manually by user - now it is a part of ansible one click install for VES. Change-Id: If3873cffa51ddf04d2c3769705259aaf5928cc45 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2019-03-21ansible-kafka: Fix zookeeper_host_ip valueRadoslaw Jablonski1-1/+1
Previously 'zookeeper_host_ip' was set to 'localhost' instead of IP address - this caused error during starting kafka container. Change-Id: I55cf6e3375e3d08df2baf69f678aaab74f4aa408 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2019-01-10ansible: install mcelog from sources on Ubuntu 18.04Kamil Wiatrowski2-0/+49
On Ubuntu 18 mcelog is no longer available through apt from standard repositories. It can be downloaded directly, and make on target machine. Mcelog version 161 is used. Change-Id: Ie24990869190f86efa26994081d4f887f879c867 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-12-03Add support for dpdk events and stat to ansible installationKamil Wiatrowski4-0/+92
Add dpdk plugins to ansible installation with default configuration. Change-Id: I1f7949962aff5119141b5712bb6b32db8f45b287 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-11-23Merge "barometer-collectd: Add support for DPDK in container"Matthias Runge2-0/+2
2018-11-22barometer-collectd: Add support for DPDK in containerKamil Wiatrowski2-0/+2
Build dpdk plugins in collectd container. Change-Id: Ifdca827a419d6d3d4d9c6070d3a581372df8a2f9 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-11-21default.inv: Add note about problems with mixing hostnames/IP addressesRadoslaw Jablonski1-0/+9
Added a note about risks with mixing IP addresses and hostnames in inventory file. If the same host will be called in inventory file using both its hostname and IP address then problems may occur during step where dependencies are installed (ansible thinks that there are 2 independent hosts and will try install dependencies for both of them in the same time - it may fail be because of apt/yum synchronization locks). Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com> Change-Id: I2cd1ea293fadfb12f78c03028cafec993dadbe2d
2018-11-09Merge "Add support for multi influx hosts"Aaron Smith4-11/+32
2018-11-09Merge "Add 'prometheus_hosts' example definition to default.inv"Aaron Smith1-0/+3
2018-11-09Merge "src, docker: Change pkg import path of DMA"Aaron Smith1-6/+4
2018-11-07Add 'prometheus_hosts' example definition to default.invRadoslaw Jablonski1-0/+3
Change-Id: Ibd87a721ba299f02db22723cb663c4ed513cd1fb Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-11-02src, docker: Change pkg import path of DMAToshiaki Takahashi1-6/+4
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-10-31Add support for multi influx hostsJohn O Loughlin4-11/+32
Added support for multiple influx hosts. Fix issue where ansible crashes when influx_host is not defined Change-Id: I348e53c9b6147b0fafffdebcd80037acb72d67ce Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-10-19dashboards: update and fix grafana dashboardsKamil Wiatrowski10-13031/+7411
Update of default grafana dashboards. Change-Id: I049001c982c19500d367bcaf467a9c614605792a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-11ansible: Set IP address of influxdb for grafanaKamil Wiatrowski2-8/+5
Set ip address to influxdb for grafana based on provided hostname. IP address in numerical format is required by grafana container. Mapping of hostname in /etc/hosts is no longer required. Change-Id: I684de737c6f8e48b5b9f256541901852d7ecc05a Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-09ansible: Add cleanup for grafana cache under host machineRadoslaw Jablonski1-0/+6
Previously cleaning cache directory for grafana(/var/lib/grafana) was missing and, because of that, changing influxdb_host variable value between one ansible deployment and another was not working. It was a problem because scripts in grafana container are expecting that cache directory will be empty during first run and, if some dashboards exists in cache already (even if they are left by previous deployment), old dashboards will be left untouched with possibly wrong configuration. This bug happened during deploying 3 nodes scenarios more than once (collectd, grafana and influlxdb hosted on separate machines). Now cleanup is done by default and can be skipped using 'clean_grafana_cache=false' value. Change-Id: Ib67cc3437b8a3a2c2930dd55cba44aef8e352cf2 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-09ansible: Fix custom 'influxdb_host' setting for grafanaRadoslaw Jablonski1-2/+5
Previously there were 2 errors in ansible scripts for grafana: - influxdb_host variable value was unset - entry for /etc/hosts file was adding text "{{ influxdb_hostname }}" instead hostname stored in this variable Change-Id: I1821b3c5f5fea5c29386b1a57e37aadcf90dd2e6 Signed-off-by: Radoslaw Jablonski <radoslawx.jablonski@intel.com>
2018-10-05Merge "Add role to auto install docker on hosts - missing patch"Aaron Smith3-3/+8
2018-10-04Add role to auto install docker on hosts - missing patchKamil Wiatrowski3-3/+8
Small updates to ansible roles. Several minor updates in documentation. Change-Id: Id031cebc23301b6218f8ced0d261f844f270e37f Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-10-03Adding support for prometheus using ansibleJohn O Loughlin8-0/+148
To enable add the following with your ip address to your inventory file: [prometheus_hosts] 172.24.4.19 Change-Id: I85add815367bcbcf1240398db2c43c2130537969 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-09-28WIP: Add role to auto install docker on hostsKamil Wiatrowski16-34/+316
Auto install docker with dependencies on hosts: apt install python apt install python-pip pip install docker-py apt install docker.io Set docker proxy using host proxy settings. Updated documentation. Change-Id: Ibec7e0a7e484d5a9a8656cd3598c3acc7c2e2184 Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-09-10Merge "Add support for 'collectd-master' container"Aaron Smith3-13/+86
2018-09-07Add support for 'collectd-master' containerRadoslaw Jablonski3-13/+86
'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-07docker: Add Dockerfile of DMA localagentToshiaki Takahashi1-0/+25
Change-Id: I2e12ee574cc0b1fd5de178b576590ae78ff533c6 Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
2018-08-31Fix for Grafana does not plot the RDT plugin data correctly.Kamil Wiatrowski2-2/+6
Fixed the interval of intel_rdt plugin and Grafana dashboard settings to follow the correct interval. Change-Id: Ia792c6b6308526d82f153275d5d5393b0aea312d Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
2018-06-18Configure collectd to load ipmi before PMUJohn O'Loughlin1-1/+1
Collectd loads config files in alphabetical order. Ansible creates the config files for collectd. In this patch we change the name ipmi.conf to 0_ipmi.conf This will allow ipmi to be loaded before PMU. If PMU is loaded before ipmi the container will crash. This is a bug in collectd 5.8 Change-Id: I3334a3a1970f596e36f665698649d6c04fd38fbb Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
2018-03-16ansible: add task to copy custom types.db file to targetsGordon Kelly3-0/+28
Change-Id: I0ae30a46d11d53cdc218e38d0b3a852aa5be147d Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16Merge "ansible: break task to copy additional config files to own file"Gordon Kelly2-9/+25
2018-03-16ansible: break task to copy additional config files to own fileGordon Kelly2-9/+25
Change-Id: Iffba385bd8e565459288f95eadf8a52bb6cc0084 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-16ansible:Put plugins in alphabetical order and fix swap plugin config pathGordon Kelly1-42/+41
Change-Id: Ie146e0ac9ad5e8bc1721b51e4e5112db51462854 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-13Clean up barometer-collectd DockerfileLeif Madsen1-11/+11
By merging several of the RUN lines and executing a yum cleanup all at the end of the dependency installation, the resulting container image will be around 300MB smaller. Change-Id: I63139a5283ea40ec8ea5cc3fd7aa7faddc90f3ce Signed-off-by: Leif Madsen <lmadsen@redhat.com>