<?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 hardware.power_supply.state metric does not change when a power cable is removed in OpenTelemetry/Skyline</title>
    <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/229979#M504</link>
    <description>&lt;P&gt;We have a CheckPoint 26000 appliance and we are trying to use Skyline to monitor some metrics with grafana.&lt;/P&gt;&lt;P&gt;Now we are trying to use the&amp;nbsp;hardware.power_supply.state metric but it doesn't work as expected. To make a test we tried to disconnect one of the three power cables and from cpview (Hardware-Health.Power-Supply window) we see the "Power Supply #1" Down (see attached image).&lt;/P&gt;&lt;P&gt;However, if we run "cpview -m" and we extract the metric&amp;nbsp;hardware.power_supply.state we have this output&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;{"data":[{"name":"Power Supply #3","value":1},{"name":"Power Supply #2","value":1},{"name":"Power Supply #1","value":1}],"description":"State of reading the power supply data","metric-id":"hardware.power_supply.state","metric-type":"Gauge","metric-unit":"{state}","metric-value-type":"double"}&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where all the Power Supply #* fields have the value "1":&lt;/P&gt;&lt;P&gt;&lt;EM&gt;name":"Power Supply #1","value":1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;name":"Power Supply #2","value":1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;name":"Power Supply #3","value":1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;With a power cable disconnected we expect a value "0" for the Power Supply #1.&lt;/P&gt;&lt;P&gt;What do you think? Is it correct, is there a bug?&lt;/P&gt;&lt;P&gt;Bye...&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 09:10:45 GMT</pubDate>
    <dc:creator>gianogli</dc:creator>
    <dc:date>2024-10-17T09:10:45Z</dc:date>
    <item>
      <title>hardware.power_supply.state metric does not change when a power cable is removed</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/229979#M504</link>
      <description>&lt;P&gt;We have a CheckPoint 26000 appliance and we are trying to use Skyline to monitor some metrics with grafana.&lt;/P&gt;&lt;P&gt;Now we are trying to use the&amp;nbsp;hardware.power_supply.state metric but it doesn't work as expected. To make a test we tried to disconnect one of the three power cables and from cpview (Hardware-Health.Power-Supply window) we see the "Power Supply #1" Down (see attached image).&lt;/P&gt;&lt;P&gt;However, if we run "cpview -m" and we extract the metric&amp;nbsp;hardware.power_supply.state we have this output&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;{"data":[{"name":"Power Supply #3","value":1},{"name":"Power Supply #2","value":1},{"name":"Power Supply #1","value":1}],"description":"State of reading the power supply data","metric-id":"hardware.power_supply.state","metric-type":"Gauge","metric-unit":"{state}","metric-value-type":"double"}&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;where all the Power Supply #* fields have the value "1":&lt;/P&gt;&lt;P&gt;&lt;EM&gt;name":"Power Supply #1","value":1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;name":"Power Supply #2","value":1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;name":"Power Supply #3","value":1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;With a power cable disconnected we expect a value "0" for the Power Supply #1.&lt;/P&gt;&lt;P&gt;What do you think? Is it correct, is there a bug?&lt;/P&gt;&lt;P&gt;Bye...&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 09:10:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/229979#M504</guid>
      <dc:creator>gianogli</dc:creator>
      <dc:date>2024-10-17T09:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: hardware.power_supply.state metric does not change when a power cable is removed</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/230057#M505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/163"&gt;@gianogli&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The current Skyline implementation is taking the state (status) field instead of the value, we have added the value field as well as part of the R82 upcoming release. The status AFAIK, indicates whether this is available for functionality - but not if it is active or not. Adding R&amp;amp;D related personal to comment further (&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/112727"&gt;@yacovs&lt;/a&gt;&amp;nbsp;)&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:05:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/230057#M505</guid>
      <dc:creator>Elad_Chomsky</dc:creator>
      <dc:date>2024-10-17T17:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: hardware.power_supply.state metric does not change when a power cable is removed</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/230106#M506</link>
      <description>&lt;P&gt;Thanks for your clarification.&lt;BR /&gt;We are using R82EA on another 26000 but the behavior is the same.&amp;nbsp; Probably we are not using the take where these changes were implemented.&lt;/P&gt;&lt;P&gt;I think it could very useful read from this metric the field "Value" where we can find the UP o DOWN information.&lt;/P&gt;&lt;P&gt;We hope to see this feature in a next take/release.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!&lt;/P&gt;&lt;P&gt;Bye...&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 07:32:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/230106#M506</guid>
      <dc:creator>gianogli</dc:creator>
      <dc:date>2024-10-18T07:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: hardware.power_supply.state metric does not change when a power cable is removed</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/230143#M507</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/163"&gt;@gianogli&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be a new metric called "hardware.power_supply" - where the value should be ( 0 - Down, Up - 1, Empty -2, Dummy , Ignore - 3) , I need to check if it was inserted in the EA-related takes, but It should be as part of the final GA release.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 12:44:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/hardware-power-supply-state-metric-does-not-change-when-a-power/m-p/230143#M507</guid>
      <dc:creator>Elad_Chomsky</dc:creator>
      <dc:date>2024-10-18T12:44:26Z</dc:date>
    </item>
  </channel>
</rss>

