From: garciadeblas Date: Tue, 30 Jun 2020 14:18:12 +0000 (+0000) Subject: full_install_osm.sh: fix bug 1116 related to node_exporter service installation X-Git-Tag: release-v9.0-start~99 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F9241%2F1;p=osm%2Fdevops.git full_install_osm.sh: fix bug 1116 related to node_exporter service installation Change-Id: Ie407a79f82fe041ec02816c1b2868f980ad17d11 Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 15cd1f38..8e00aa3c 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -363,7 +363,7 @@ function install_prometheus_nodeexporter(){ sudo cp /tmp/node_exporter-$PROMETHEUS_NODE_EXPORTER_TAG.linux-amd64/node_exporter /usr/local/bin sudo chown node_exporter:node_exporter /usr/local/bin/node_exporter sudo rm -rf /tmp/node_exporter-$PROMETHEUS_NODE_EXPORTER_TAG.linux-amd64* - sudo cp ${OSM_DEVOPS}/installers/docker/prometheus/node_exporter.service /etc/systemd/system/node_exporter.service + sudo cp ${OSM_DEVOPS}/installers/docker/prometheus_exporters/node_exporter.service /etc/systemd/system/node_exporter.service sudo systemctl daemon-reload sudo systemctl restart node_exporter sudo systemctl enable node_exporter