<?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: Skyline -- Grafana -- Temperature Thresholds in OpenTelemetry/Skyline</title>
    <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/207024#M326</link>
    <description>&lt;P&gt;For alerting I came up with this query.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;max&lt;/SPAN&gt; &lt;SPAN&gt;by&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;host_name&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; name&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;((((&lt;/SPAN&gt;&lt;SPAN&gt;hardware_temperature&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;environment&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_environment"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;host_name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_hostname"&lt;/SPAN&gt;&lt;SPAN&gt;})&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;32&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt; &lt;SPAN&gt;(((&lt;/SPAN&gt;&lt;SPAN&gt;hardware_temperature_max&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;environment&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_environment"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;host_name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_hostname"&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;32&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;That seems to correctly match the values for each monitored Temp sensor to its specific threshold value for for that sensor specifically.&amp;nbsp; Subtracting them from each other, gives you a negative&amp;nbsp;value as long as the temp is below the threshold.&amp;nbsp; &amp;nbsp;From there alerting is fairly easy.&amp;nbsp; (if you ignore the C to F math)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What I haven't figured out is how to display that in grafana using those thresholds as a custom threshold for displaying in a dashboard.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;IE&amp;nbsp;so that its green below 80% of the value, orange between 80 and 90% and red over 90%...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was my starting goal of the question, thinking the next easy step would be alerting.&amp;nbsp; &amp;nbsp; However, using the the custom threshold seems to be more difficult.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 23 Feb 2024 14:31:05 GMT</pubDate>
    <dc:creator>David_Evans</dc:creator>
    <dc:date>2024-02-23T14:31:05Z</dc:date>
    <item>
      <title>Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/179971#M159</link>
      <description>&lt;P&gt;The CPU, Inlet and Outlet temperature thresholds are different from each other on most models.&amp;nbsp; &amp;nbsp;I cannot work out in Grafana how to set these thresholds to each real&amp;nbsp; temperature value.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hardware.temperature.max&amp;nbsp; &amp;nbsp; &amp;nbsp;50,50.100,100&lt;BR /&gt;hardware.temperature&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30,27,64,71&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using Grafana, and the "Config from query results" in the transformation section, I can assign 50 to the Grafana built in variable&amp;nbsp;of "threshold".&amp;nbsp; However, it assigns the same value to ALL the hardware&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;temperatures, and not matching each max value to its corresponding&amp;nbsp;real value's "threshold" variable.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The threshold&amp;nbsp;variable&amp;nbsp;works in the graphs to do things like color coding and I assume alerting as well.&amp;nbsp; However, I cannot assign a unique threshold to each of the temperatures.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This seems to be working as designed from what I can see as there is a note in the documentation&amp;nbsp;that states.&lt;BR /&gt;"&lt;SPAN&gt;If you want to extract a unique config for every row in the config query result then try the rows to fields transformation."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The "rows to fields" transformation seems very broken at least in my install and doesn't give me any options to do anything like assigning the threshold values to each real value.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was wondering how others were working around this issue or if I'm missing something simple.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 13:19:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/179971#M159</guid>
      <dc:creator>David_Evans</dc:creator>
      <dc:date>2023-05-04T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/204810#M316</link>
      <description>&lt;P&gt;I have not found a good solution to this where I can alert on the different temperature threshold values for the different temps.&amp;nbsp; &amp;nbsp;I can display them like below but there are even some format issues with this where you have to really look to match the threshold to the current value.&amp;nbsp; This is really a grafana issue and not a skyline specifically but when I google this for grafana, I can't find many examples where a dataset has various different thresholds for a single set of data.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="temp2.png" style="width: 938px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/24354i5BD3B772A658DCF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="temp2.png" alt="temp2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="temp1.png" style="width: 938px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/24353iE04873E61E949F61/image-size/large?v=v2&amp;amp;px=999" role="button" title="temp1.png" alt="temp1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 14:09:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/204810#M316</guid>
      <dc:creator>David_Evans</dc:creator>
      <dc:date>2024-02-01T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/205010#M318</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am not monitoring CPU temperature so maybe I am wrong how it is woprking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in the Grafan "Alert Rule"section you can create several different queries within one rule.&lt;BR /&gt;Maybe create a qeury for ecery type of firewalls which have the same cpu thresholds.&lt;/P&gt;
&lt;P&gt;and in the "host_name" label you can do something like this:&lt;BR /&gt;"host_name=~".*fw1.*|.*fw2.*|.*fw3.*"&lt;/P&gt;
&lt;P&gt;If you have 3 different models then you have 3 queries A, B and C.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next use the "Math option" and select:&lt;BR /&gt;&lt;BR /&gt;$A &amp;gt; 30 || $B &amp;gt; 50 || $C &amp;gt; 70&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 07:03:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/205010#M318</guid>
      <dc:creator>Alexander_Wilke</dc:creator>
      <dc:date>2024-02-05T07:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/205086#M319</link>
      <description>&lt;P&gt;These are different thresholds within the same firewall.&amp;nbsp; &amp;nbsp;ie&amp;nbsp; On the same firewall, the intake temp threshold is different than the CPU temp threshold.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 19:03:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/205086#M319</guid>
      <dc:creator>David_Evans</dc:creator>
      <dc:date>2024-02-05T19:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/206248#M324</link>
      <description>&lt;P&gt;Hi David - when you say "&lt;SPAN&gt;However, I cannot assign a unique threshold to each of the temperatures. " - might be misunderstanding you but you could create separate Alert rules catering for each query/metric (ie one for CPUTemp, another one for CPU0Temp and so on.. see screenshot bellow.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would probably create separate panels for CPU, Inlet, Outlet etc..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Hope this helps?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;EDIT - just realised Alex already suggested something similar - hope the screenshots help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 23:27:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/206248#M324</guid>
      <dc:creator>Dorian</dc:creator>
      <dc:date>2024-02-15T23:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/206836#M325</link>
      <description>&lt;P&gt;I don't see in your examples where you are dynamically matching up the reported threshold for each temperature "type" on each firewall.&amp;nbsp; &amp;nbsp;I have many models of checkpoint firewalls &lt;STRIKE&gt;and&lt;/STRIKE&gt; &lt;STRIKE&gt;I've noticed that on my 6000XL's the reported thresholds are different across the models.&amp;nbsp; &amp;nbsp; I haven't dug into it but I'm thinking its when the BIOS updates on the 6000's was done to take care of the RAM boot issue, the reported max thresholds also changed.&amp;nbsp; &amp;nbsp;&lt;/STRIKE&gt;(not true on further investigation, it was one of my failed attempts at trying to get this to work messing with the data)&amp;nbsp; I would really like to not have to generate a huge table with each model and each temperature type to do the alerting when the thresholds are right there in the provided data.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:28:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/206836#M325</guid>
      <dc:creator>David_Evans</dc:creator>
      <dc:date>2024-02-22T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Skyline -- Grafana -- Temperature Thresholds</title>
      <link>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/207024#M326</link>
      <description>&lt;P&gt;For alerting I came up with this query.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;max&lt;/SPAN&gt; &lt;SPAN&gt;by&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;host_name&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; name&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;((((&lt;/SPAN&gt;&lt;SPAN&gt;hardware_temperature&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;environment&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_environment"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;host_name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_hostname"&lt;/SPAN&gt;&lt;SPAN&gt;})&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;32&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt; &lt;SPAN&gt;(((&lt;/SPAN&gt;&lt;SPAN&gt;hardware_temperature_max&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;environment&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_environment"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;host_name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"$d_hostname"&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt; &lt;SPAN&gt;*&lt;/SPAN&gt; &lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt; &lt;SPAN&gt;+&lt;/SPAN&gt; &lt;SPAN&gt;32&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;That seems to correctly match the values for each monitored Temp sensor to its specific threshold value for for that sensor specifically.&amp;nbsp; Subtracting them from each other, gives you a negative&amp;nbsp;value as long as the temp is below the threshold.&amp;nbsp; &amp;nbsp;From there alerting is fairly easy.&amp;nbsp; (if you ignore the C to F math)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What I haven't figured out is how to display that in grafana using those thresholds as a custom threshold for displaying in a dashboard.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;IE&amp;nbsp;so that its green below 80% of the value, orange between 80 and 90% and red over 90%...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That was my starting goal of the question, thinking the next easy step would be alerting.&amp;nbsp; &amp;nbsp; However, using the the custom threshold seems to be more difficult.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Feb 2024 14:31:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/OpenTelemetry-Skyline/Skyline-Grafana-Temperature-Thresholds/m-p/207024#M326</guid>
      <dc:creator>David_Evans</dc:creator>
      <dc:date>2024-02-23T14:31:05Z</dc:date>
    </item>
  </channel>
</rss>

