11.3 - Netdata Plugin and network chart

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
I'm thrilled to see that a community plugin for Netdata has been created for use in 11.3! Installed it and it works great. However, it appears that the network charts won't work because it's monitoring the jail interface and not the lagg or other interfaces on the FreeNAS server itself. Is there any way for me to fix that? Is this something that might be fixed in a future update?

Thank for whomever created this!

1582580865198.png
 

Dreded

Explorer
Joined
Nov 12, 2013
Messages
65
Same question, I just installed using the default NAT option as I assumed the default would be correct.
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
Same question, I just installed using the default NAT option as I assumed the default would be correct.

I tried both options. Neither helped.
 

_Alchemist_

Dabbler
Joined
Jan 10, 2019
Messages
23
I have the same Problem, its just showing "epair0b" in the network interfaces
So I always get 0 Kbps with net inbound and outbound in the System Overview
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
It's not possible for the jail to monitor the host interfaces.
 

_Alchemist_

Dabbler
Joined
Jan 10, 2019
Messages
23
weird, for some reason it still worked a couple of months ago, then I played around with LACP and it stopped working :confused:
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
@_Alchemist_ Are you sure you were on 11.3 a couple of months ago? I've never had the network charts work on the plugin on 11.3.
 

_Alchemist_

Dabbler
Joined
Jan 10, 2019
Messages
23
Yes, but I think it only worked because I installed it when I was still using FreeNAS 11.2 before I upgraded to 11.3, but I could be wrong ... (cant remember)
 

NeoSlugman

Cadet
Joined
Aug 20, 2020
Messages
1
Same problem for me. I'm looking for a solution.
I've seen that the plugin renamed the interface each time I tried to reinstall it :
Code:
Sep  6 01:22:38 truenas kernel: epair0a: link state changed to UP
Sep  6 01:22:38 truenas kernel: epair0b: link state changed to UP
Sep  6 01:22:38 truenas kernel: epair0a: changing name to 'vnet0.7'
Sep  6 01:22:41 truenas kernel: lo0: link state changed to UP
Sep  6 01:23:33 truenas kernel: vnet0.7: link state changed to DOWN
Sep  6 01:23:33 truenas kernel: epair0b: link state changed to DOWN
Sep  6 01:23:47 truenas kernel: epair0a: Ethernet address: xx:xx:xx:xx:xx:xa
Sep  6 01:23:47 truenas kernel: epair0b: Ethernet address: xx:xx:xx:xx:xx:xb
Sep  6 01:23:47 truenas kernel: epair0a: link state changed to UP
Sep  6 01:23:47 truenas kernel: epair0b: link state changed to UP
Sep  6 01:23:47 truenas kernel: epair0a: changing name to 'vnet0.8'
Sep  6 01:23:49 truenas kernel: lo0: link state changed to UP
 

Frikkie

Dabbler
Joined
Mar 10, 2019
Messages
41
If you use the VNET option a virtualised network stack is created and the jail can't see the physical interfaces.
Set it up as I have in the screenshot and let me know if it works for you.

Changed settings: VNET off, Berkeley Packet Filter off, choose the correct network adapter (ex. mlxen0) and set a static IP. The rest is left at the Netdata community plugin default values.
1614817919396.png


Result:
1614818008029.png
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
@Frikkie Thanks for the tip! I'm not too familiar with jails, but when I try to install as you suggest, I get the following:
1614819110869.png

Any suggestions? Did you have to create a dataset for netdata first?
 

Frikkie

Dabbler
Joined
Mar 10, 2019
Messages
41
No I did not. The dataset creation is usually taken care of when first installing the plugin.
On your VM/Jail storage pool under "iocage".
Did you set a static IP and the (in most cases) correct /24 subnet?
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
Yes, set the correct IP info. I am running 12-U2 now though. Maybe something is different there.
 

Frikkie

Dabbler
Joined
Mar 10, 2019
Messages
41
I don't think it is release specific as I am running 12-U2 and just set up Netdata today.
You could try starting from a clean slate if that is a possibility.
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
Interesting. I deleted the entire iocage dataset since I have no other jails, did the reinstall and it went through. I can now ping the IP that I assigned to it, but at port 19999 netdata doesn't come up.
 

Frikkie

Dabbler
Joined
Mar 10, 2019
Messages
41
Here are my other settings in case you want to do a 1:1 comparison.
1614843591133.png

Ignore the "IPv4 Default Router" value. The option is not available (greyed out) and irrelevant because VNET is disabled.
1614843609499.png

1614843623100.png

1614843633884.png
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
Hmm, pretty much all the same settings here. Not sure why it doesn't work. I wonder if it's because I'm using a lagg. Thank you for sharing though.
 

Frikkie

Dabbler
Joined
Mar 10, 2019
Messages
41
My pleasure. :)
Hmm, pretty much all the same settings here. Not sure why it doesn't work. I wonder if it's because I'm using a lagg. Thank you for sharing though.
Thaaaaaaaat could very well be the case... Don't use LAGG myself but I could try it out on my TrueNAS Scale test vm to see what happens.
I'll get back to you.
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
Turns out that it now works after a full system reboot. LAGG (multiple LAGGs) included. Thanks again!
 
Top