392ac36312
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. |
||
---|---|---|
.gitignore | ||
config.ru | ||
config.yml.example | ||
dnsbl_exporter.rb | ||
dnsbl_exporter.service.erb | ||
Gemfile | ||
README.adoc |
= 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`.