Skip to content

vnstat expose MonthRotate in UI#5484

Open
gpfountz wants to merge 6 commits into
opnsense:masterfrom
gpfountz:master
Open

vnstat expose MonthRotate in UI#5484
gpfountz wants to merge 6 commits into
opnsense:masterfrom
gpfountz:master

Conversation

@gpfountz

@gpfountz gpfountz commented Jun 7, 2026

Copy link
Copy Markdown

Important notices

Before you submit a pull request, we ask you kindly to acknowledge the following:

If AI was used, please disclose:

  • Model used: None
  • Extent of AI involvement: None

Describe the problem

Expose the MonthRotate config file parameter to allow rotating the monthly log on a day other than the first of the month. In my example, my ISP has data caps that reset on the 14th of the month.


Describe the proposed solution

Modify the config model to pull in the MonthRotate parameter and expose this setting on the General page.


Related issue

If this pull request relates to an issue, link it here.
#5482

Comment thread net/vnstat/src/opnsense/service/templates/OPNsense/Vnstat/vnstat Outdated
Comment thread net/vnstat/src/opnsense/mvc/app/models/OPNsense/Vnstat/General.xml
@mimugmail

Copy link
Copy Markdown
Member

Please also update the version in Makefile

@gpfountz

gpfountz commented Jun 7, 2026

Copy link
Copy Markdown
Author

Please also update the version in Makefile

version in makefile updated -- Commit 530247c. Thanks for all your help!

@gpfountz gpfountz changed the title expose MonthRotate in UI vnstat expose MonthRotate in UI Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants