Ad Widget

Collapse

Ubuntu 18 network monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SeventhSon
    Junior Member
    • Jun 2018
    • 2

    #1

    Ubuntu 18 network monitoring

    Hi!

    I updated Ubuntu and in 18 there is no eth0, but enp0s31f6.
    Also I see that network statistic is in /sys/class/net/enp0s31f6/statistics/[rx_bytes,tx_bytes]
    Does anybody know how to fix it and not break monitoring for other older hosts?
    Do I need new separate template for U18?
  • kernbug
    Senior Member
    • Feb 2013
    • 330

    #2
    Originally posted by SeventhSon
    Hi!

    I updated Ubuntu and in 18 there is no eth0, but enp0s31f6.
    Also I see that network statistic is in /sys/class/net/enp0s31f6/statistics/[rx_bytes,tx_bytes]
    Does anybody know how to fix it and not break monitoring for other older hosts?
    Do I need new separate template for U18?
    Hello

    Two options available:
    1. Different templates for different interface types;
    2. Change behavior of the Ubuntu 18, edit your /etc/default/grub:
    Code:
    GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
    and update grub configuration:
    Code:
    sudo update-grub && reboot

    Comment

    Working...