diff --git a/ct/headers/prometheus-blackbox-exporter b/ct/headers/prometheus-blackbox-exporter new file mode 100644 index 000000000..936f051d3 --- /dev/null +++ b/ct/headers/prometheus-blackbox-exporter @@ -0,0 +1,6 @@ + ____ __ __ ____ __ __ __ ______ __ + / __ \_________ ____ ___ ___ / /_/ /_ ___ __ _______ / __ )/ /___ ______/ /__/ /_ ____ _ __ / ____/ ______ ____ _____/ /____ _____ + / /_/ / ___/ __ \/ __ `__ \/ _ \/ __/ __ \/ _ \/ / / / ___/_____/ __ / / __ `/ ___/ //_/ __ \/ __ \| |/_/_____/ __/ | |/_/ __ \/ __ \/ ___/ __/ _ \/ ___/ + / ____/ / / /_/ / / / / / / __/ /_/ / / / __/ /_/ (__ )_____/ /_/ / / /_/ / /__/ ,< / /_/ / /_/ /> /etc/systemd/system/blackbox-exporter.service +[Unit] +Description=Blackbox Exporter Service +After=network.target + +[Service] +Type=simple +WorkingDirectory=/opt/blackbox-exporter +ExecStart=/opt/blackbox-exporter/blackbox_exporter +Restart=on-failure + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now blackbox-exporter +msg_ok "Service Created" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt -y autoremove +$STD apt -y autoclean +$STD apt -y clean +msg_ok "Cleaned"