dnsbl_exporter/README.adoc

22 lines
564 B
Plaintext
Raw Normal View History

2018-12-14 15:16:21 +01:00
= DNSBL exporter
Provides an exporter to scan known DNSBL-provides for listing of target-IP.
== Installation
2019-01-11 15:09:28 +01:00
1. You have to installed `ruby` and `bundler`:
2018-12-14 15:16:21 +01:00
2019-01-11 15:09:28 +01:00
apt install ruby
gem install bundler
2. Clone the repository to the destination, you want to have installed dnsbl_exporter.
3. Start on boot:
2018-12-14 15:16:21 +01:00
+
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
2019-01-11 15:09:28 +01:00
4. In prometheus, define the target-IP as `target`.