From c01d427cc176c10ecf8eeb22cf062e35330bcc6d Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Fri, 11 Jan 2019 15:09:28 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.adoc=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.adoc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 1d47df0..82f4b34 100644 --- a/README.adoc +++ b/README.adoc @@ -4,13 +4,19 @@ Provides an exporter to scan known DNSBL-provides for listing of target-IP. == 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. -2. + apt install ruby + gem install bundler + +2. Clone the repository to the destination, you want to have installed dnsbl_exporter. + +3. Start on boot: + useradd prometheus sudo -u prometheus bundle install erb dnsbl_exporter.service.erb > /etc/systemd/system/dnsbl_exporter.service systemctl daemon-reload systemctl enable --now dnsbl_exporter.service + +4. In prometheus, define the target-IP as `target`. \ No newline at end of file