Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#This script is to run nodeexporter as on the bare-metal instead of in a container.
# more information https://github.com/prometheus/node_exporter/issues/474
#
# From the nodeexporter repo in the README.md
# The node_exporter is designed to monitor the host system.
# It's not recommended to deploy it as Docker container because it requires access to the host system.
#
set -e
Thanks. Looks like Oracle introduced the changes in the download.
wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-x64.tar.gz"