summaryrefslogtreecommitdiffstats
path: root/monitor/dispatch/install_barometer_client.sh
blob: 80667cd0e85f1894a0cc42cff3e6f4c3b2d38fcb (plain)
1
2
3
4
5
6
7
8
HOSTNAME=`hostname`

docker pull opnfv/barometer
sudo docker run  --name bottlenecks-barometer-${HOSTNAME} -d --net=host \
  -v /etc/barometer_config/barometer_client.conf:/src/barometer/src/collectd/collectd/src/collectd.conf \
  -v /etc/barometer_config/barometer_client.conf:/opt/collectd/etc/collectd.conf \
  -v /var/run:/var/run -v /tmp:/tmp \
  --privileged opnfv/barometer /run_collectd.sh