I decided to do like I said I would do and modified the db myself and that seem to have worked. It should however probably be changed so that Opnsense automatically adds new interfaces to the db file
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu2024-05-23T21:28:09 Notice vnstatd Interface "em0" disabled.
2024-05-23T21:28:09 Notice vnstatd Monitoring (6): wg0 (1000 Mbit) re0 (1000 Mbit) pfsync0 (1000 Mbit) pflog0 (1000 Mbit) enc0 (1000 Mbit) em0 (1000 Mbit)
2024-05-23T21:28:09 Notice vnstatd Data retention: 48 5MinuteHours, 4 HourlyDays, 62 DailyDays, 25 MonthlyMonths, -1 YearlyYears, 20 TopDayEntries
2024-05-23T21:28:09 Notice vnstatd vnStat daemon 2.12 (pid:50245 uid:284 gid:284, SQLite 3.45.1)
2024-05-23T21:28:09 Notice vnstatd SIGTERM received, exiting.