Project

General

Profile

Actions

Bug #12710

closed

Disabling DHCP Server RRD statistics does not work

Added by John Hood 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.5.2
Affected Architecture:

Description

Seen on CE 2.5.2.

DHCP RRD stats can be enabled by a checkbox on the DHCP Services page, but disabling it on that page has no effect. Looking at /usr/local/www/services_dhcp.php I see that enable_rrd_graphing() is called when stats are enabled, but not when they are disabled. /usr/local/www/services_ntpd.php has better code for this.

Workaround-ish: Toggle RRD stats for ntpd (saving each time) after disabling RRD stats for DHCP.

Actions #1

Updated by John Hood 4 months ago

"has no effect" means that /var/db/rrd/updaterrd.sh is not changed and DHCP RRD stats collection continues. I found this while debugging #12709.

Actions #3

Updated by Jim Pingle 4 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Viktor Gurov
  • Target version set to CE-Next
  • Plus Target Version set to 22.05
Actions #4

Updated by Viktor Gurov 3 months ago

  • Status changed from Pull Request Review to Feedback

Merged

Actions #5

Updated by Christopher Cope 3 months ago

  • Status changed from Feedback to Resolved

Tested and working successfully on

22.05-DEVELOPMENT (amd64)
built on Thu Feb 17 06:17:22 UTC 2022
FreeBSD 12.3-STABLE

Marking resolved.

Actions #6

Updated by Jim Pingle 3 months ago

  • Target version changed from CE-Next to 2.7.0
Actions #7

Updated by Jim Pingle about 2 months ago

  • Subject changed from Disabling dhcpd rrd stats doesn't work to Disabling DHCP Server RRD statistics does not work
  • Category changed from Web Interface to DHCP (IPv4)

Updating subject for release notes.

Actions

Also available in: Atom PDF