„README.adoc“ ändern

This commit is contained in:
Denis Knauf 2019-01-11 15:09:28 +01:00
parent 0f26bed053
commit c01d427cc1

View file

@ -4,13 +4,19 @@ Provides an exporter to scan known DNSBL-provides for listing of target-IP.
== Installation == Installation
You have to installed ruby and bundler. 1. You have to installed `ruby` and `bundler`:
1. Clone the repository to the destination, you want to have installed dnsbl_exporter. apt install ruby
2. gem install bundler
2. Clone the repository to the destination, you want to have installed dnsbl_exporter.
3. Start on boot:
+ +
useradd prometheus useradd prometheus
sudo -u prometheus bundle install sudo -u prometheus bundle install
erb dnsbl_exporter.service.erb > /etc/systemd/system/dnsbl_exporter.service erb dnsbl_exporter.service.erb > /etc/systemd/system/dnsbl_exporter.service
systemctl daemon-reload systemctl daemon-reload
systemctl enable --now dnsbl_exporter.service systemctl enable --now dnsbl_exporter.service
4. In prometheus, define the target-IP as `target`.