1 # vnStat 1.7 config file
4 # location of the database directory
5 DatabaseDir "/var/lib/vnstat"
10 # on which day should months change
13 # date output formats for -d, -m, -t and -w
14 # see 'man date' for control codes
19 # characters used for visuals
25 # how units are prefixed when traffic is shown
26 # 0 = IEC standard prefixes (KiB/MiB/GiB/TiB)
27 # 1 = old style binary prefixes (KB/MB/GB/TB)
33 # maximum bandwidth (Mbit) for all interfaces, 0 = disable feature
34 # (unless interface specific limit is given)
37 # interface specific limits
38 # example 8Mbit limit for eth0 (remove # to activate):
41 # how many seconds should sampling for -tr take by default
45 # 0 = normal, 1 = days, 2 = months, 3 = top10
46 # 4 = dumpdb, 5 = short, 6 = weeks, 7 = hours
49 # filesystem disk space check (1 = enabled, 0 = disabled)
52 # database file locking (1 = enabled, 0 = disabled)
55 # how much the boot time can variate between updates (seconds)
62 # how often (in seconds) interface data is updated
65 # how often (in seconds) interface status changes are checked
68 # how often (in minutes) interface data is saved to file
71 # enable / disable logging (0 = disabled, 1 = logfile, 2 = syslog)
74 # file used for logging if UseLogging is set to 1
75 LogFile "/var/log/vnstat.log"
77 # file used as daemon pid / lock file
78 PidFile "/var/run/vnstat.pid"
84 HeaderFormat "%d.%m.%Y %H:%M"