$OpenBSD: README-main,v 1.3 2018/09/04 12:46:19 espie Exp $

+-----------------------------------------------------------------------
| Running vnstat on OpenBSD
+-----------------------------------------------------------------------

1) Launch vnstat --iflist to see all the available interfaces.

2) For each interface that you want to monitor, launch this command:
    # su -m _vnstat -c "vnstat -i interface -u"
This will create the database for the specified interface.

3) Edit /etc/vnstat.conf if necessary.

4) Finally launch the vnstatd daemon:
    # /etc/rc.d/vnstatd start

5) Create graphics with the command vnstati (you have to install vnstati)


Random hints:
    * You can enable debug in /etc/vnstat.conf and check
      the logs in /var/log/vnstat/vnstat.log
