We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #10494: lnx_if: Fixed confusion of interface state UNKNOWN, DOWN if ethtool output is missing

ComponentChecks & Agents
Titlelnx_if: Fixed confusion of interface state UNKNOWN, DOWN if ethtool output is missing
Date2019-11-09 16:56:37
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0p6,1.7.0i1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

If the command ethtool provides information about interfaces the operational state of an interfaces is UP if ethtool outputs Link detected: yes otherwise DOWN in case of Link detected: no.

If this output is missing then the interface flags in angle brackets of the command ip are used to get the operational state. Out interpretation was as following: If the flags contain UP, the operational status of the interface is UP. If the flags contain DOWN, the status is DOWN otherwise it is UNKNOWN.

But we wrongly assumed that these flags contain DOWN. This has been fixed and now it is handled as following: If the flags contain UP, the status is UP otherwise it is DOWN.