luci-app-nlbwmon not showing data in my OpenWrt-based router.
Below are the configurations
cat /etc/config/nlbwmon
config nlbwmon
option netlink_buffer_size '524288'
option database_limit '10000'
option protocol_database '/usr/share/nlbwmon/protocols'
option database_generations '7'
option database_directory '/usr/nlbwmon'
option database_interval '2021-01-01/1'
option commit_interval '60s'
option refresh_interval '30s'
list local_network ''
list local_network 'lan'
This directory /usr/nlbwmon is also created.
Please help me.
Thanks.
Stefan1
February 23, 2021, 9:33am
2
Is it used as router, or just used as access point (means no routing happens) ?
To my knowledge nlbwmon only works if routing happens:
Monitoring bandwidth with luci-app-nlbwmon and two routers on the same subnet - #2 by slh
Stefan1
February 23, 2021, 10:30am
4
Can you write on the database directory ? On my system it is on /var/lib...
Stefan1
February 23, 2021, 4:55pm
6
What does the system log say about nlbwmon ?
stangri
February 23, 2021, 10:20pm
7
sagar_jain:
Please help me.
Thanks.
Have you tried restoring default config file?
1 Like
yes but the problem is same.
Stefan1
February 24, 2021, 10:39am
9
Your answers are very detailed . So even if you set the accounting period to day of month, and the commit interval to 12h, and the database directory to /var/lib/nlbwmon, you still get no values ?
And you do have devices in your lan interface that do wan access ?
What Openwrt, luci-app_nlbwmon and nlbwmon version do you use on what hardware ?
2 Likes
hnyman
February 26, 2021, 7:43pm
10
I would start by deleting the empty local_network definition from the config file. That looks erroneous to me:
list local_network ''
@stangri @Stefan1 @hnyman
When I hit the nlbwmon command on CLI I am getting this error [Segmentation fault]
Please help