You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
717 B

  1. From: Jo-Philipp Wich <jo@mein.io>
  2. Date: Thu, 26 Jan 2017 15:30:00 +0100
  3. Subject: [PATCH] config: adjust default values
  4. Adjust the default interval settings to be better suited for slower embedded
  5. devices.
  6. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  7. --- a/cfg/vnstat.conf
  8. +++ b/cfg/vnstat.conf
  9. @@ -87,13 +87,13 @@ DaemonUser ""
  10. DaemonGroup ""
  11. # how often (in seconds) interface data is updated
  12. -UpdateInterval 30
  13. +UpdateInterval 60
  14. # how often (in seconds) interface status changes are checked
  15. -PollInterval 5
  16. +PollInterval 30
  17. # how often (in minutes) data is saved to file
  18. -SaveInterval 5
  19. +SaveInterval 30
  20. # how often (in minutes) data is saved when all interface are offline
  21. OfflineSaveInterval 30