mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update vnstat
This commit is contained in:
parent
cb4dce3f03
commit
155e56460e
6 changed files with 298 additions and 0 deletions
28
vnstat/patches/990-adjust-configuration-defaults.patch
Normal file
28
vnstat/patches/990-adjust-configuration-defaults.patch
Normal file
|
@ -0,0 +1,28 @@
|
|||
From: Jo-Philipp Wich <jo@mein.io>
|
||||
Date: Thu, 26 Jan 2017 15:30:00 +0100
|
||||
Subject: [PATCH] config: adjust default values
|
||||
|
||||
Adjust the default interval settings to be better suited for slower embedded
|
||||
devices.
|
||||
|
||||
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
||||
|
||||
--- a/cfg/vnstat.conf
|
||||
+++ b/cfg/vnstat.conf
|
||||
@@ -87,13 +87,13 @@ DaemonUser ""
|
||||
DaemonGroup ""
|
||||
|
||||
# how often (in seconds) interface data is updated
|
||||
-UpdateInterval 30
|
||||
+UpdateInterval 60
|
||||
|
||||
# how often (in seconds) interface status changes are checked
|
||||
-PollInterval 5
|
||||
+PollInterval 30
|
||||
|
||||
# how often (in minutes) data is saved to file
|
||||
-SaveInterval 5
|
||||
+SaveInterval 30
|
||||
|
||||
# how often (in minutes) data is saved when all interface are offline
|
||||
OfflineSaveInterval 30
|
Loading…
Add table
Add a link
Reference in a new issue