What's new

vnStat [Release] vnStat-on-Merlin - UI, CLI and email - data use and data limit monitoring - R1 and R2

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Same here nothing displaying in data usage & compare usage charts. Maybe this will help?
Code:
vnstati updating stats for UI
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
 
Are you all running updated Entware versions? Because I tried to reproduce what you're seeing and I'm not finding anything.

If this is an Entware library incompatibility, we'll need to connect with the upstream author of vnStat (Linux app).

@Jack Yaz is on sabbatical, but at some point we'll connect to see if there is anything on our end.

In the event it is Entware-related, you may wish to hold off updating unless there is a compelling business case.
 
I saw the issue even before updating Entware. Entware is updated now but graphs were empty before that.
 
@dev_null This is after the Entware package upgrade, if you want to compare anything with your setup.
Code:
 List of installed Entware packages (94)
 bind-dig - 9.17.20-1                                            glib2 - 2.70.0-1                                                librt - 2.23-11
 bind-libs - 9.17.20-1                                           grep - 3.7-2                                                    libsmartcols - 2.37-1
 ca-bundle - 20211016-1                                          haveged - 1.9.15-1                                              libsqlite3 - 3330000-2
 column - 2.37-1                                                 imagemagick - 7.0.9-4a                                          libssp - 8.4.0-11
 coreutils - 8.32-6                                              jq - 1.6-2                                                      libstdcpp - 8.4.0-11
 coreutils-base64 - 8.32-6                                       libatomic - 8.4.0-11                                            libtiff - 4.3.0-1
 dejavu-fonts-ttf-DejaVuSans - 2.37-1                            libattr - 2.5.1-3                                               libunbound - 1.13.2-1
 dejavu-fonts-ttf-DejaVuSans-Bold - 2.37-1                       libc - 2.23-11                                                  libuuid - 2.37-1
 dejavu-fonts-ttf-DejaVuSans-BoldOblique - 2.37-1                libcurl - 7.80.0-1                                              libuv - 1.41.1-1
 dejavu-fonts-ttf-DejaVuSans-ExtraLight - 2.37-1                 libdbi - 0.9.0-5                                                libwebp - 1.2.1-1
 dejavu-fonts-ttf-DejaVuSans-Oblique - 2.37-1                    libedit - 20210522-3.1-1                                        locales - 2.23-9
 dejavu-fonts-ttf-DejaVuSansCondensed - 2.37-1                   libexpat - 2.4.1-1                                              logrotate - 3.17.0-1
 dejavu-fonts-ttf-DejaVuSansCondensed-Bold - 2.37-1              libffi - 3.4.2-2                                                oniguruma - 6.9.7.1-1
 dejavu-fonts-ttf-DejaVuSansCondensed-BoldOblique - 2.37-1       libfreetype - 2.11.0-1                                          opkg - 2021-06-13-1bf042dd-1
 dejavu-fonts-ttf-DejaVuSansCondensed-Oblique - 2.37-1           libgcc - 8.4.0-11                                               p7zip - 16.02-3
 dejavu-fonts-ttf-DejaVuSansMono - 2.37-1                        libgd - 2.3.2-3                                                 procps-ng - 3.3.16-3a
 dejavu-fonts-ttf-DejaVuSansMono-Bold - 2.37-1                   libhavege - 1.9.15-1                                            procps-ng-pkill - 3.3.16-3a
 dejavu-fonts-ttf-DejaVuSansMono-BoldOblique - 2.37-1            libiconv-full - 1.16-1                                          qrencode - 4.1.1-1
 dejavu-fonts-ttf-DejaVuSansMono-Oblique - 2.37-1                libintl-full - 0.21-2                                           sqlite3-cli - 3330000-2
 dejavu-fonts-ttf-DejaVuSerif - 2.37-1                           libjpeg-turbo - 2.1.1-1                                         syslog-ng - 3.35.1-1
 dejavu-fonts-ttf-DejaVuSerif-Bold - 2.37-1                      libjson-c - 0.15-2                                              terminfo - 6.2-3
 dejavu-fonts-ttf-DejaVuSerif-BoldItalic - 2.37-1                libltdl - 2.4.6-2                                               unbound-anchor - 1.13.2-1
 dejavu-fonts-ttf-DejaVuSerif-Italic - 2.37-1                    libncurses - 6.2-3                                              unbound-checkconf - 1.13.2-1
 dejavu-fonts-ttf-DejaVuSerifCondensed - 2.37-1                  libncursesw - 6.2-3                                             unbound-control - 1.13.2-1
 dejavu-fonts-ttf-DejaVuSerifCondensed-Bold - 2.37-1             libnghttp2 - 1.44.0-1                                           unbound-daemon - 1.13.2-1
 dejavu-fonts-ttf-DejaVuSerifCondensed-BoldItalic - 2.37-1       libopenssl - 1.1.1l-1                                           vnstat2 - 2.8-2
 dejavu-fonts-ttf-DejaVuSerifCondensed-Italic - 2.37-1           libopenssl-conf - 1.1.1l-1                                      vnstati2 - 2.8-2
 diffutils - 3.7-3                                               libpcre - 8.45-2                                                zlib - 1.2.11-3
 entware-opt - 227000-3                                          libpng - 1.6.37-11                                              zoneinfo-asia - 2021e-1
 entware-release - 1.0-2                                         libpopt - 1.16-2                                                zoneinfo-europe - 2021e-1
 entware-upgrade - 1.0-1                                         libpthread - 2.23-11
 findutils - 4.8.0-1                                             libqrencode - 4.1.1-1
[CODE]
 
Same here nothing displaying in data usage & compare usage charts. Maybe this will help?
Code:
vnstati updating stats for UI
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
this is either an entware issue or vnstat issue (@Vergo )
most likely entware with another broken update imho. you can try uninstalling and reinstalling vnstat2 and vnstati2 packages

re. blank graphs, please ensure you have an interface set in vnstat.conf in /jffs/addons/dn-vnstat.d or /opt/share/dn-vnstat.d depending on whether you use USB storage or not
 
I recently installed Entware and vnStat from scratch (owing to my other issue of tx and rx values being the same).

Code:
column - 2.37-1
coreutils - 8.32-6
coreutils-base64 - 8.32-6
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
findutils - 4.8.0-1
grep - 3.7-2
jq - 1.6-2
libc - 2.23-11
libedit - 20210522-3.1-1
libfreetype - 2.11.0-1
libgcc - 8.4.0-11
libgd - 2.3.2-3
libjpeg-turbo - 2.1.1-1
libncurses - 6.2-3
libncursesw - 6.2-3
libopenssl - 1.1.1l-1
libpcre - 8.45-2
libpng - 1.6.37-11
libpthread - 2.23-11
librt - 2.23-11
libsmartcols - 2.37-1
libsqlite3 - 3330000-2
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libwebp - 1.2.1-1
locales - 2.23-9
opkg - 2021-06-13-1bf042dd-1
p7zip - 16.02-3
pixelserv-tls - 2.4-1
psmisc - 23.4-2
sqlite3-cli - 3330000-2
terminfo - 6.2-3
vnstat2 - 2.8-2
vnstati2 - 2.8-2
zlib - 1.2.11-3
zoneinfo-asia - 2021e-1
zoneinfo-europe - 2021e-1
These packages are all the same versions as @Khadanja. I don’t have any issues with data collection, other than tx and rx being almost the same all the time.
 
this is either an entware issue or vnstat issue (@Vergo )
most likely entware with another broken update imho. you can try uninstalling and reinstalling vnstat2 and vnstati2 packages

re. blank graphs, please ensure you have an interface set in vnstat.conf in /jffs/addons/dn-vnstat.d or /opt/share/dn-vnstat.d depending on whether you use USB storage or not
Just checked interface is set. Haven't made any changes to the .conf file & graphs were working until few days ago. I will try rebooting when I get a chance.
 
Last edited:
Seems to be working after a reboot but missing data from 9th till today.

1639515957005.png
 
I don't want to parrot the issue too much but I'll try to detail my process as much as possible

I changed internet providers a while ago and took me a couple days to realize I wasn't being emailed my daily stats
Ran amtm, updated vnstat from there but it wouldn't generate any new stats
I updated entware packages, still no new stats
Realized vnstats was using ppp interface or whatever it was called but on the new provider I needed to track vlan4
So I changed that, waited a while to get some data and then checked my webui
Noticed stats were updating but no graphs
Ran amtm and went into vnstats and updated stats from there

All I get when I do that now is:

Code:
vnstati updating stats for UI

vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory
vnstats as of: Wed Dec 15 13:13:04 GMT 2021


vlan4  /  hourly

     hour        rx      |     tx      |    total
-------------------------+-------------+------------
2021-12-14
     13:00       1.63 GB |     4.67 GB |     6.29 GB
     14:00       5.34 GB |     5.08 GB |    10.42 GB
     15:00       4.61 GB |     4.72 GB |     9.32 GB
     16:00       9.37 GB |     5.42 GB |    14.79 GB

My stats definitely generate correctly but no graphs :(
I uninstalled vnstat and reinstalled via amtm, same problem
I made sure to reboot the router, problem persists
I force uninstalled libwebp and vnstats with opkg and reinstalled via amtm, no change
Uninstalled them again and reinstalled via opkg this time without any luck there either

As for /opt/share/dn-vnstat.d/vnstat.conf, well I already had to update that for the new ISP so interface is definitely configured:
Code:
Interface "vlan4"
And my package list seems pretty similar

Code:
opkg list-installed
bash - 5.1.8-1
bind-dig - 9.17.20-1
bind-libs - 9.17.20-1
ca-bundle - 20211016-1
column - 2.37-1
coreutils - 8.32-6
coreutils-mktemp - 8.32-6
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
findutils - 4.8.0-1
git - 2.33.1-1
git-http - 2.33.1-1
glib2 - 2.70.0-1
grep - 3.7-2
htop - 3.1.0-1
iftop - 2018-10-03-77901c8c-2
iperf3 - 3.10.1-1
jq - 1.6-2
libacl - 2.3.1-3
libatomic - 8.4.0-11
libattr - 2.5.1-3
libc - 2.23-11
libcap - 2.51-1
libcurl - 7.80.0-1
libdbi - 0.9.0-5
libedit - 20210522-3.1-1
libffi - 3.4.2-2
libfreetype - 2.11.0-1
libgcc - 8.4.0-11
libgd - 2.3.2-3
libiconv-full - 1.16-1
libintl-full - 0.21-2
libjpeg-turbo - 2.1.1-1
libjson-c - 0.15-2
libncurses - 6.2-3
libncursesw - 6.2-3
libnghttp2 - 1.44.0-1
libopenssl - 1.1.1l-1
libpcap - 1.10.1-1
libpcre - 8.45-2
libpng - 1.6.37-11
libpopt - 1.16-2
libpthread - 2.23-11
libqrencode - 4.1.1-1
libreadline - 8.1-1
librt - 2.23-11
libsmartcols - 2.37-1
libsqlite3 - 3330000-2
libssp - 8.4.0-11
libstdcpp - 8.4.0-11
libuuid - 2.37-1
libuv - 1.41.1-1
libwebp - 1.2.1-1
libzstd - 1.5.0-1
locales - 2.23-9
logrotate - 3.17.0-1
opkg - 2021-06-13-1bf042dd-1
p7zip - 16.02-3
pixelserv-tls - 2.4-1
qrencode - 4.1.1-1
rsync - 3.2.3-3
sqlite3-cli - 3330000-2
syslog-ng - 3.35.1-1
terminfo - 6.2-3
vnstat2 - 2.8-2
vnstati2 - 2.8-2
zlib - 1.2.11-3
zoneinfo-asia - 2021e-1
zoneinfo-europe - 2021e-1
zsh - 5.8-1
 

Attachments

  • vnstat-email.png
    vnstat-email.png
    122.7 KB · Views: 96
  • vnstat-webui.png
    vnstat-webui.png
    328.5 KB · Views: 87
Last edited:
I'm not sure, I need to think about it a bit, we've really not seen anything quite the same. You seem to have a minimal setup, it might be worth considering a full reset to see if that helps, but before you do that, let me poke around on my test router a bit. Seems odd...
I went ahead and experimented with a full reset. In fact, I switched my previous AiMesh node to be my router, Asus RT-AC1750 B1 on Merlin 386.3_2 (AC68U).

I didn't set up the node this time, router only, no WiFi clients (changed SSID temporarily).

Set up from scratch: swap file, Diversion with bundled Entware installation, vnStat. A few port forwarding rules (VPN, Plex, etc) and custom ddns-start. This is as barebones as I could make it.

Streamed a movie for a bit via LAN, and here's what I got for eth0:
1639588572072.png
 
Last edited:
I was reading thru this forum and it seems when HW acceleration (Runner & Flow Cache) is enabled it might throw off the data generated when using this vnStat...is this correct?

I currently use FlexQoS and HW acceleration is currently enabled.

Can I use vnStat? Thanks!
 
My daily, monthly, hourly & summary charts are showing 08/12 as the date, seems to have not updated since then.
 
TO FIX THE ERROR: vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory

PLEASE RUN
Code:
opkg remove vnstati2 libgd libwebp && opkg install vnstati2
That appears to do the trick! Thanks.
 
TO FIX THE ERROR: vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory

PLEASE RUN
Code:
opkg remove vnstati2 libgd libwebp && opkg install vnstati2
Thanks, Jack. I was trying to figure out which package called those libraries. I was actually wondering if it was imagemagick.
 
TO FIX THE ERROR: vnstati: error while loading shared libraries: libwebpdecoder.so.4.1.1: cannot open shared object file: No such file or directory

PLEASE RUN
Code:
opkg remove vnstati2 libgd libwebp && opkg install vnstati2
Thanks Jack, that worked!
 
New amtm with own email function.
Finally I can uninstall diversion, as I don't use it.

Vnstat must be updatet, It can't send the emails because "diversion isn't installed".
 
I'm not sure, I need to think about it a bit, we've really not seen anything quite the same. You seem to have a minimal setup, it might be worth considering a full reset to see if that helps, but before you do that, let me poke around on my test router a bit. Seems odd...
Curious if you have any further thoughts on this? Is it possible what I’m seeing is “real”, somehow the traffic is being mirrored? Still thinking through what in my setup could be doing this.
 
Curious if you have any further thoughts on this? Is it possible what I’m seeing is “real”, somehow the traffic is being mirrored? Still thinking through what in my setup could be doing this.
I don't. I actually switched on Runner and Flow Cache to see what would happen with my usage stats. Interestingly, my usage with and without these enabled were more or less what I would have expected from our usual use (20-30gb/day; 2/3 down, 1/3 up).

I'm going reach out to the vnStat (Linux app) developer (who has, on occasion, participated in Jack and my development of vnStat-on-Merlin) to see if this is something known.
 
New amtm with own email function.
Finally I can uninstall diversion, as I don't use it.

Vnstat must be updatet, It can't send the emails because "diversion isn't installed".

I only use Diversion for the email, too. Is vnStat being worked on to use the amtm email functionality?
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top