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