dnsbl_exporter icon indicating copy to clipboard operation
dnsbl_exporter copied to clipboard

grafana dashboard

Open till opened this issue 1 year ago • 2 comments

  • Update(dashboard): add grafana dashboard
  • Update(docker): example swarm setup

till avatar Apr 27 '24 16:04 till

Hi @till,

As you have asked for feedback to the dashboard.

  • The listing by RBL becomes hard to read when used with many RBLs.
  • The filter does not seem to work or I do not understand it.
  • I think dedicated filters for hostname and RBL would be helpful
  • In case of an listing the detailed info may not be detailed enough to show the ip/hostname listed on exactly these RBLs but then again for this granularity you can still use prometheus directly.
  • The dashboard has some issues if multiple instances of the exporter are used. We run a domain and an IP configured variant of the exporter. For example the RBLs panel just reports only the highest value of both exporters. But I'm not sure if you want to consider this special case.

I could not test the dashboard, with listed entries.

We ended up building a quick dashboard ourselves but forgot to share it. If you are interested I can still do that.

dnsbl_dashboard

As you already asked someone else which RBLs they use, here are our configs. IP based RBL:

[rbl]
server=zen.spamhaus.org
server=all.spamrats.com
server=all.de.bl.blocklist.de
server=rbl.your-server.de
server=bl.nordspam.com

domain based RBL:

[rbl]
server=dbl.spamhaus.org
server=dnsbl.spfbl.net
server=dbl.nordspam.com

s-diez avatar Apr 29 '24 16:04 s-diez

@s-diez yeah, if you can share your dashboard, please send a PR to this one and add your dashboard as another .json file in contrib. It doesn't hurt to have multiple options. :) You don't need to combine/fix anything.

As for multiple exporters, so basically I attach a job-label when I scrape to tell them apart, but I am not sure what better options there are. I have to admit, I didn't test with domain based yet.

till avatar Apr 29 '24 18:04 till