Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Is it possible to add Unbound stats to the RRD graphs?

    Scheduled Pinned Locked Moved DHCP and DNS
    8 Posts 4 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      geeknik
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • M
        musicwizard
        last edited by

        @geeknik:

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

        but it uses munin. not sure what pfsense uses.

        1 Reply Last reply Reply Quote 0
        • T
          tim.mcmanus
          last edited by

          Which stats specifically do you want to graph?

          1 Reply Last reply Reply Quote 0
          • M
            musicwizard
            last edited by

            for example the number of queries per hour/day
            the speed of the resolves maybe. (how long it takes to lookup a domain)

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              https://github.com/mmitch/rrd/blob/master/unbound.pl

              1 Reply Last reply Reply Quote 0
              • M
                musicwizard
                last edited by

                @doktornotor:

                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?

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • M
                    musicwizard
                    last edited by

                    Ah ok. Then i (we) have to wait for a super coder to stepup and help us.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.