Ad Widget

Collapse

Network interface discovery: eth0 down

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Allirion
    Junior Member
    • Apr 2021
    • 1

    #1

    Network interface discovery: eth0 down

    I set up a zabbix agent (5.0) on a raspberry pi. The host is configured with the template Template OS Linux by Zabbix Agent, and it contains the Network Interface Discovery.

    The interface operational status item (key vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"] ) returns up for the interface wlan0 and down for the interface eth0. But eth0 is up!
    Other items are also missing for the eth0 interface (bits received, sent etc.)

    I can confirm from the raspberry pi that the interface is up.

    Code:
    sudo -u zabbix cat /sys/class/net/eth0/operstate
    up
    Could you help me retrieve the interface data?
Working...