<?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: insights utility timeout in Hyperscale Firewall (Maestro)</title>
    <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/insights-utility-timeout/m-p/248393#M3380</link>
    <description>&lt;P&gt;Good tip!&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 21:07:28 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2025-05-07T21:07:28Z</dc:date>
    <item>
      <title>insights utility timeout</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/insights-utility-timeout/m-p/248390#M3379</link>
      <description>&lt;P&gt;While monitoring the joining process of a new SGM in EXL cluster with &lt;FONT face="courier new,courier"&gt;insights&lt;/FONT&gt; utility (one can do it with &lt;FONT face="courier new,courier"&gt;cinfo -l overview&lt;/FONT&gt;, but &lt;FONT face="courier new,courier"&gt;insights&lt;/FONT&gt; outputs the stages so nice and colorful), I noticed the insights utility exiting. Checked also on a Maestro installation, the same behaviour, insights utility exited.&lt;/P&gt;
&lt;P&gt;After exactly 10 minutes, even though I set the inactivity-timeout to max and unset TMOUT bash envar (one might remember ssh sessions dropped while performing a remote JHF install due to TMOUT).&lt;/P&gt;
&lt;P&gt;So I checked the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;/opt/GaiaTools/insights/src/insights.py&lt;/FONT&gt; and I found a line:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;self.tmout = 600 if "TMOUT" not in os.environ else int(os.environ.get("TMOUT"))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;that explains the behaviour: especially because I unset TMOUT the default hardcoded tmout kicked in. After all, &lt;FONT face="courier new,courier"&gt;insights&lt;/FONT&gt; is not designed to be a continuous monitoring tool (there are others).&lt;/P&gt;
&lt;P&gt;My workaround, that I'll not recommend, was to&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;g_all 'sed -i -e 's/600/3600/g' /opt/GaiaTools/insights/src/insights.py'&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;after new SGM joined the EXL cluster. I'll check if &lt;FONT face="courier new,courier"&gt;insights.py&lt;/FONT&gt; is included or not in the initial &lt;FONT face="courier new,courier"&gt;lightshot&lt;/FONT&gt; (I love the term and the simplicity and speed of the mechanism - but I do remember the elegance and robustness of using drbd to sync configuration in Crossbeam XOS) performed when a new SGM joins cluster to have a more consistent workaround, if needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 20:59:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/insights-utility-timeout/m-p/248390#M3379</guid>
      <dc:creator>APopisteru</dc:creator>
      <dc:date>2025-05-07T20:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: insights utility timeout</title>
      <link>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/insights-utility-timeout/m-p/248393#M3380</link>
      <description>&lt;P&gt;Good tip!&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 21:07:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Hyperscale-Firewall-Maestro/insights-utility-timeout/m-p/248393#M3380</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-05-07T21:07:28Z</dc:date>
    </item>
  </channel>
</rss>

