ferthospital.blogg.se

Blackbox exporter
Blackbox exporter








blackbox exporter
  1. #Blackbox exporter install
  2. #Blackbox exporter update

└─10084 /usr/local/bin/blackbox_exporter -config.file /etc/blackbox_exporter/blackbox.yml Loaded: loaded (/etc/systemd/system/blackbox_rvice disabled vendor preset: enabled)Īctive: active (running) since Wed 00:02:40 UTC 5s agoĬGroup: /system.slice/blackbox_rvice The service should be started, verify: $ systemctl status blackbox_exporterīlackbox_rvice - Blackbox Exporter Reload the systemd daemon and restart the service: $ systemctl daemon-reload Populate the systemd unit file configuration: ĮxecStart=/usr/local/bin/blackbox_exporter -config.file /etc/blackbox_exporter/blackbox.yml

#Blackbox exporter update

Update the permissions of the config so that the user has ownership: $ chown blackbox_exporter:blackbox_exporter /etc/blackbox_exporter/blackbox.ymlĬreate the systemd unit file: $ vim /etc/systemd/system/blackbox_rvice $ vim /etc/blackbox_exporter/blackbox.yml

blackbox exporter

Remove the downloaded archive: $ rm -rf blackbox_exporter-0.14.0.linux-amd64*Ĭreate the blackbox directory and create the config: $ mkdir /etc/blackbox_exporter $ chown blackbox_exporter:blackbox_exporter /usr/local/bin/blackbox_exporter Move the binaries in place and change the ownership: $ cp blackbox_exporter-0.14.0.linux-amd64/blackbox_exporter /usr/local/bin/blackbox_exporter

#Blackbox exporter install

Install the Blackbox Exporterįirst create the blackbox exporter user: $ useradd -no-create-home -shell /bin/false blackbox_exporterĭownload blackbox exporter and extract: $ wget Im assuming that you have already set up prometheus. In this tutorial we will install the blackbox exporter on linux. Blackbox Exporter by Prometheus allows probing over endpoints such as http, https, icmp, tcp and dns.










Blackbox exporter