Provides an exporter for Prometheus, to collect DNSBL-informations of several DNSBL-providers.
Find a file
2021-05-08 22:17:10 +02:00
config.ru first working implementation 2018-12-14 14:58:11 +01:00
config.yml first working implementation 2018-12-14 14:58:11 +01:00
dnsbl_exporter.rb first working implementation 2018-12-14 14:58:11 +01:00
dnsbl_exporter.service.erb README and service-file-template added 2018-12-14 15:16:21 +01:00
Gemfile first working implementation 2018-12-14 14:58:11 +01:00
README.adoc „README.adoc“ ändern 2019-01-11 15:09:28 +01:00

= DNSBL exporter

Provides an exporter to scan known DNSBL-provides for listing of target-IP.

== Installation

1. You have to installed `ruby` and `bundler`:

	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`.