Skip to content

Instantly share code, notes, and snippets.

View robrotheram's full-sized avatar

Robert robrotheram

View GitHub Profile
@robrotheram
robrotheram / node_exporter.sh
Last active August 4, 2018 13:56 — forked from galexrt/node_exporter.sh
Simple Prometheus node_exporter install script
#!/bin/bash
version="${VERSION:-0.15.2}"
arch="${ARCH:-linux-amd64}"
bin_dir="${BIN_DIR:-/usr/local/bin}"
wget "https://github.com/prometheus/node_exporter/releases/download/v$version/node_exporter-$version.$arch.tar.gz" \
-O /tmp/node_exporter.tar.gz
mkdir -p /tmp/node_exporter