adding node exporter, loki, and promtail
This commit is contained in:
16
prometheus_node_exporter/rootfs/run.sh
Normal file
16
prometheus_node_exporter/rootfs/run.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bashio
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Prometheus Node Exporter
|
||||
# Runs the Prometheus Node Exporter
|
||||
# ==============================================================================
|
||||
#
|
||||
# WHAT IS THIS FILE?!
|
||||
#
|
||||
# The Prometheus Node Exporter add-on runs in the host PID namespace, therefore it cannot
|
||||
# use the regular S6-Overlay; hence this add-on uses a "old school" script
|
||||
# to run; with a couple of "hacks" to make it work.
|
||||
# ==============================================================================
|
||||
/etc/cont-init.d/node_exporter.sh
|
||||
|
||||
# Start Prometheus Node Exporter
|
||||
exec /etc/services.d/node_exporter/run
|
Reference in New Issue
Block a user