diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-17 20:45:38 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-17 20:45:38 -0400 |
| commit | a83c53c2997327c9ee7ddf4856c6360ccf541a0a (patch) | |
| tree | 258668929292530a5ef90b415e92d2f6ede3147d /templates/blackbox_exporter.runit | |
| parent | 01cda8792213340fdedcd364dedb2a73564d27f2 (diff) | |
| download | prometheus-a83c53c2997327c9ee7ddf4856c6360ccf541a0a.tar.gz prometheus-a83c53c2997327c9ee7ddf4856c6360ccf541a0a.tar.xz | |
TLS Support for everything if you configure the vars properly.
Blackbox exporter.
Alertmanager discord for sending alerts there via webhooks.
Runit services for all of them.
Diffstat (limited to 'templates/blackbox_exporter.runit')
| -rw-r--r-- | templates/blackbox_exporter.runit | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/blackbox_exporter.runit b/templates/blackbox_exporter.runit new file mode 100644 index 0000000..115bc7b --- /dev/null +++ b/templates/blackbox_exporter.runit @@ -0,0 +1,7 @@ +#!/bin/sh +exec 3>>{{blackbox_exporter_log}} 2>&3 1>&3 +exec chpst -u {{prometheus_user}} \ + {{prometheus_home_dir}}/blackbox_exporter/blackbox_exporter \ + {{blackbox_exporter_opts | replace('\n', ' ')}} \ + + |
