<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Which metric shows interface &amp;quot;admin state&amp;quot; up/down and link-state up/down? in OpenTelemetry/Skyline</title>
    <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Which-metric-shows-interface-quot-admin-state-quot-up-down-and/m-p/250854#M631</link>
    <description>&lt;P&gt;Unfortunately there is still no label or metric which shows the "link state" of an interface,&lt;/P&gt;
&lt;P&gt;However I found out that the label "speed" does not exist or is empty if the "link state" is down. This allows me to check if the interfaces metric for admin state is "up" and "speed" is empy to identify the interface is down.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This does not work for the MHO interfaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;### metric value == 1 if interface admin state up / enabled
### if value of label "speed" does not have any value
### the interface is admin up, link state down.
### I do not care avout the "lo" interface and exclude it
 (system_network_interface_state{host_name!~".*mho.*", name!~"lo", speed!~".+"} == 1)&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 07 Jun 2025 22:43:57 GMT</pubDate>
    <dc:creator>Alexander_Wilke</dc:creator>
    <dc:date>2025-06-07T22:43:57Z</dc:date>
    <item>
      <title>Which metric shows interface "admin state" up/down and link-state up/down?</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Which-metric-shows-interface-quot-admin-state-quot-up-down-and/m-p/244991#M579</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to monitor my ports. If a port has admin state down and link state is down 8of course) this is "OK".&lt;/P&gt;
&lt;P&gt;If I have a port which is "admin up" but link state is down than this is unexpected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which metric can I use for this? Running Prometheus TSDB to collect the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im am running R81.20.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 13:53:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Which-metric-shows-interface-quot-admin-state-quot-up-down-and/m-p/244991#M579</guid>
      <dc:creator>Alexander_Wilke</dc:creator>
      <dc:date>2025-03-27T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Which metric shows interface "admin state" up/down and link-state up/down?</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Which-metric-shows-interface-quot-admin-state-quot-up-down-and/m-p/250854#M631</link>
      <description>&lt;P&gt;Unfortunately there is still no label or metric which shows the "link state" of an interface,&lt;/P&gt;
&lt;P&gt;However I found out that the label "speed" does not exist or is empty if the "link state" is down. This allows me to check if the interfaces metric for admin state is "up" and "speed" is empy to identify the interface is down.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This does not work for the MHO interfaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;### metric value == 1 if interface admin state up / enabled
### if value of label "speed" does not have any value
### the interface is admin up, link state down.
### I do not care avout the "lo" interface and exclude it
 (system_network_interface_state{host_name!~".*mho.*", name!~"lo", speed!~".+"} == 1)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 07 Jun 2025 22:43:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Which-metric-shows-interface-quot-admin-state-quot-up-down-and/m-p/250854#M631</guid>
      <dc:creator>Alexander_Wilke</dc:creator>
      <dc:date>2025-06-07T22:43:57Z</dc:date>
    </item>
  </channel>
</rss>

