Skip to content

Instantly share code, notes, and snippets.

View ekarak's full-sized avatar

Elias Karakoulakis ekarak

View GitHub Profile
@ekarak
ekarak / node_exporter
Last active August 7, 2016 17:43
Run prometheus.io/node_exporter as system process in Raspberry (Raspbian 7.10). Unzip app under /opt/node_exporter and this file under /etc/init.d
#!/bin/sh
### BEGIN INIT INFO
# Provides: node_exporter
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Prometheus node_exporter system metrics server
# Description: starts node_exporter using start-stop-daemon
@ekarak
ekarak / prometheus
Last active August 7, 2016 17:44
Run http://prometheus.io as a daemon in Raspberry (Raspbian 7.10). Unzip prometheus under /opt/prometheus and add this under /etc/init.d/
#!/bin/sh
### BEGIN INIT INFO
# Provides: prometheus
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the Prometheus server
# Description: starts prometheus using start-stop-daemon
@ekarak
ekarak / Doxyfile
Created November 15, 2012 09:10 — forked from dimitarcl/Doxyfile
Documenting JavaScript with Doxygen
FILTER_PATTERNS =*.js=doxygen.js