Skip to content

allow monthly bandwidth tracking to start on a different day for each interface #174

@paulo-erichsen

Description

@paulo-erichsen

description

this is a feature request for vnstat to allow keeping track of billing cycle usage for different interfaces that start on different days

can we make the MonthRotate option to be set on a per interface basis?

description for MonthRotate from vnstat.conf(5)

   MonthRotate
          Day of month that months are expected to change. Usually set to 1 but can be set to alternative values for example for tracking monthly billed traffic where  the
          billing  period  doesn't start on the first day. For example, if set to 7, days of February up to and including the 6th will count for January. Changing this op‐
          tion will not cause existing data to be recalculated. Value range: 1..28

use case

say I have different ISPs on different interfaces, or for example one interface could be a cellular connection while the other interface using a different ISP. I'd like to easily be able to get the monthly usage for both interfaces even though their billing cycles are different

example:

  • ISP A on interface A: cellular data that starts its billing and monthly usage on the 15th of each month
  • ISP B on interface B: regular ISP that has higher bandwidth that has billing starting on the 1st of each month

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions