Project

General

Profile

Actions

Feature #5387

closed

dhcp server RRD graph

Added by jeroen van breedam almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
RRD Graphs
Target version:
Start date:
11/08/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

after adding the lease_counter to status_dhcp_leases.php, i've tried to get the same data into RRD.

please check PR and if possible provide some feedback
https://github.com/pfsense/pfsense/pull/2036

Actions #1

Updated by jeroen van breedam almost 6 years ago

steve_b merged the PR above.

i've further improved the graph by adding dhcp-range as a value (= range_to - range_from).
i've also modify the line-styles to make it look better.

the new version can be found here: https://github.com/pfsense/pfsense/pull/2054

Actions #2

Updated by Chris Buechler almost 6 years ago

  • Category set to RRD Graphs
  • Status changed from New to Feedback

merged, leaving for verification

Actions #3

Updated by jeroen van breedam almost 6 years ago

thanks for merging both PR's.

i'll read about the flaws / bugs / problems when you folks find the time to check it out.

Actions #4

Updated by Chris Buechler almost 6 years ago

the menu item for this isn't showing up on any systems I checked, something missed in the merges there? Only had time for a quick glance at the code.

Actions #5

Updated by jeroen van breedam almost 6 years ago

services_dhcp.php has a checkbox for each individual interface-tab, to enable the graphs. (graphs are disabled by default).

checkbox is located below 'static arp' & 'time format change'

Actions #6

Updated by jeroen van breedam almost 6 years ago

Chris Buechler
thanks for the fixes.
will try to remember/study them, so you don't have to clean up (as much) in future contributions.

Actions #7

Updated by Chris Buechler almost 6 years ago

  • Status changed from Feedback to Resolved

this all works, looks good

Actions

Also available in: Atom PDF