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

    Dhcpd rrd graph

    Scheduled Pinned Locked Moved Development
    6 Posts 2 Posters 1.5k 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.
    • H
      heper
      last edited by

      Hi all,

      could use some help with improving/cleaning up/idea's for this PR: https://github.com/pfsense/pfsense/pull/2036

      -dhcp_gather_stats.php is bloated (copy/paste of status_dhcp_leases.php) - not sure if there is a more efficient way to get the data required
      -need to figure out what the different rrd-parameters do in the various php files. - could use your input / diff style of graphs ?

      this is on each interface-tab of services_dhcp.php. Can enable/disable each interface seperately.

      these are the actual graphs:

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

        Meh. You have some screenshots? I can provide input on how much is sucks based on that :D however I completely refuse to deal with rrdtool. That thing is about as user friendly as debugging systemd issues.

        1 Reply Last reply Reply Quote 0
        • H
          heper
          last edited by

          enjoy your rant ;)

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

            Heh… Definitely won't be telling you anything new, but the descriptions are obviously misaligned, plus - this scale should be just integer (and there we go back to rrdtool suckage - I even don't have  a clue whether it's actually doable or not). Perhaps, add static leases in there (able to pull this from config.xml or something else?)

            1 Reply Last reply Reply Quote 0
            • H
              heper
              last edited by

              -changed to a line-type graph
              -added static leases
              -the misaligment is available across every other rrd graph:  needs some looks  ;)

              1 Reply Last reply Reply Quote 0
              • H
                heper
                last edited by

                new version with additional info:

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