Provides an exporter for Prometheus, to collect DNSBL-informations of several DNSBL-providers.
Find a file
Denis Knauf 392ac36312 Splitting Registry for action and process-statistics and clean up repositry.
config.yml was only an example, so name it as config.yml.example and
ignore any config.yml, that checkout could be used as local
project-directory without conflicts.

DnsblCollector will have singleton-behaviour like process configs and an
own Registry.  Config was loaded every request, yet.
There was one Registry, which was reused for every request.  Now every
request will use his own Registry.

Requests will get the content of both Registries.
2021-05-09 14:39:21 +02:00
.gitignore Splitting Registry for action and process-statistics and clean up repositry. 2021-05-09 14:39:21 +02:00
config.ru Splitting Registry for action and process-statistics and clean up repositry. 2021-05-09 14:39:21 +02:00
config.yml.example Splitting Registry for action and process-statistics and clean up repositry. 2021-05-09 14:39:21 +02:00
dnsbl_exporter.rb Splitting Registry for action and process-statistics and clean up repositry. 2021-05-09 14:39:21 +02: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`.