Collectd graphs

Hi all, I'm using Lede leviathan II SNAPSHOT r2695-c9c68c7 on a Linksys WRT1900ACS.
I'm interedted in the collectd/rrdtools graphs. Is there a way go get throughput wireless graph in addition to the "Average PHY rate"?
Thanks

What is "leviathan II" ????
These private build/release names do not tell anybody anything :frowning:

Only if you modify the Openwrt/LEDE patch for Collectd that provides the wifi data collection via iwinfo: https://github.com/openwrt/packages/blob/master/utils/collectd/patches/900-add-iwinfo-plugin.patch

And I am not sure if the underlying iwinfo provides that data in the first place.

So, the short answer is "no", longer answer is "not easily".

LEDE leviathan II is the release proposed on the OpenWRT page: https://wiki.openwrt.org/toh/linksys/wrt1x00ac_series

Does it mean that this is not the same LEDE?
Regards

So another question would be: is there a way to send wlan Realtime Traffic to a server to keep trace of the information?
Thanks

hmm.
I am not quite sure what data you are talking about. Both the realtime wireless graph and the collectd wireless graph show noise, signal and bitrate. I thought that you were talking about this data.

But the realtime "traffic" graph shows apparently the throughput of the wireless interfaces. If you are talking about that data, you should be able to do that in the Luci statistics / collectd by modifying the config for the Network/Interfaces plugin in collectd. Default is only br-lan interface, but you can add there also wlan0 and wlan1, if needed. Then the data should be shown in the Interfaces graph page.

There two informations for a wireless interface. The Data Rate is the theorical speed for tansmission (MCS0-9 combined with streams, SGI and channel width) but the throughput is the actual value.
On the "Statistics/Graphs/Wireless" you have the "PHY Rate" which means "Data Rate". It is useful but not enough to know the actual throughput (such as using iperf3).
On the "Realtime graph" you have "Wireless/Realtime Wireless" with a strange "PHY rate" that I don't understand and "Traffic/Realtime Traffic/wlan 0" with the actual throughput. This is the value I wanted to have on collectd. But when I look at the collectd network plugin it seems to use iw and I do not find any throughput value in the iw informations.

I found your information and it's almost what I was seraching. The last issue is that its Bytes/s on the "Interfaces/Statistics" throughput and Bits/s ont the "Wireless/Statistics" PHY Rate.

[quote="gmcms, post:6, topic:735"]
"Traffic/Realtime Traffic/wlan 0" with the actual throughput. This is the value I wanted to have on collectd. But when I look at the collectd network plugin it seems to use iw and I do not find any throughput value in the iw informations.
[/quote]The realtime traffic value is not coming from iw / iwinfo. That is based on the network interface statistics. Just like collectd "interfaces" plugin is based on network device traffic stats, not wifi radio stats.
https://github.com/collectd/collectd/blob/master/src/interface.c

Either "ifconfig" or "cat /proc/net/dev" shows the stats easily.

root@lede:~# cat /proc/net/dev
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
  gre0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
 wlan0:  148852     828    0    0    0     0          0         0  1036593    2126    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
gretap0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
    lo:    6732      84    0    0    0     0          0         0     6732      84    0    0    0     0       0          0
ifb4eth0: 779368971  539103    0    0    0     0          0         0 779368971  539103    0    0    0     0       0          0
  eth0: 779533381  539264    0    0    0     0          0         0 33028921  223147    0    0    0     0       0          0
  eth1: 33817563  225703    0    4    0     0          0         0 779630573  540934    0    0    0     0       0          0
 wlan1: 1035889    1719    0    0    0     0          0         0   805041    2618    0    0    0     0       0          0
br-lan: 31119369  216684    0    0    0     0          0         0 780611531  542207    0    0    0     0       0          0
  ifb0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
 teql0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  ifb1:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0