Is it possible to add Unbound stats to the RRD graphs?
-
I asked this question a couple of years back, lots of people read it, but nobody answered it so I'll ask again: Is it possible to add Unbound stats to the RRD graphs? Is it baked in already or do I need to go hacking on stuff? Thanks!
-
I asked this question a couple of years back, lots of people read it, but nobody answered it so I'll ask again: Is it possible to add Unbound stats to the RRD graphs? Is it baked in already or do I need to go hacking on stuff? Thanks!
i would like to have that also.
when i check the unbound site i see
https://www.unbound.net/documentation/howto_statistics.htmlbut it uses munin. not sure what pfsense uses.
-
Which stats specifically do you want to graph?
-
for example the number of queries per hour/day
the speed of the resolves maybe. (how long it takes to lookup a domain) -
https://github.com/mmitch/rrd/blob/master/unbound.pl
-
https://github.com/mmitch/rrd/blob/master/unbound.pl
Where do i put this file ? and so i need to make a cron? to run it each 5 min or so?
-
Uhm… that's not a drop-in thing. You need some coding skills, mainly rewrite this from Perl to PHP, fix the paths, do some pfSense intergration with the RRD stuff already there... I linked it since it shows how to pull the info from unbound-control stats and use that for RRD.
-
Ah ok. Then i (we) have to wait for a super coder to stepup and help us.