<?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: How do you get the Jumbo Take Version on R80.X in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/101543#M5293</link>
    <description>&lt;P&gt;Many creative ways to do this, I needed a script to return the jha number only to implemented extended snmp.&lt;/P&gt;
&lt;P&gt;Stole a few lines from the check point healthcheck script and came up with a solution that works on both R77.x and R80.x&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;#!/bin/bash

cp_version=$(cat /etc/cp-release | egrep -ow 'R[0-9\.]+')
cp_underscore_version=$(echo $cp_version | sed 's/\./_/')
installed_jumbo_version=$(grep ":installed_on " /config/active | grep Bundle | grep -v bundle | grep JUMBO | egrep "$cp_version|$cp_underscore_version" | egrep -o 'T[0-9]{1,3}' | tr -d "T" | sort -n | tail -n1)

echo $installed_jumbo_version&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 17:18:06 GMT</pubDate>
    <dc:creator>Sigbjorn</dc:creator>
    <dc:date>2020-11-09T17:18:06Z</dc:date>
    <item>
      <title>How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32595#M1997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Previously - in R77.X envrionments - I had a script that used the command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;#&amp;nbsp;installed_jumbo_take -n&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This command appears to have been deprecated in the R80.X code train.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you use to get the current jumbo version thats installed?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It looks like I can use cpinfo or the regsitry - but I'm just curious if anyone has a one-liner they've found to be easy and accurate like # installed_jumbo_take -n used to provide?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 15:46:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32595#M1997</guid>
      <dc:creator>Bryce_Myers</dc:creator>
      <dc:date>2019-02-12T15:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32596#M1998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using cpinfo is a quick option. &lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;[Expert@gw01:0]# cpinfo -y all 2&amp;gt;&amp;amp;1 | grep&amp;nbsp; JUMBO&amp;nbsp; | uniq&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOTFIX_R80_20_JUMBO_HF_MAIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Take:&amp;nbsp; 33&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUNDLE_R80_20_JUMBO_HF_MAIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Take:&amp;nbsp; 33&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 18:10:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32596#M1998</guid>
      <dc:creator>masher</dc:creator>
      <dc:date>2019-02-12T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32597#M1999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After doing a little digging in R77.30 it appears that it uses a simple bash script to return the pretty jumbo output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Located in: $FWDIR/bin/installed_jumbo_take&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The piece I care about:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;JUMBO_NAME='R77_30_JUMBO_HF'&lt;/P&gt;&lt;P&gt;$CPDIR/bin/cpprod_util CPPROD_GetValue "CPUpdates/6.0/BUNDLE_${JUMBO_NAME}" SU_Build_Take 0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I just tested it on R80.10 and R80.20 and it appears to work, but the naming standard doesn't seem to follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R80.10&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;JUMBO_NAME='R80_10_JUMBO_HF'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$CPDIR/bin/cpprod_util CPPROD_GetValue "CPUpdates/6.0/BUNDLE_R80_10_JUMBO_HF" SU_Build_Take 0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;R80.20&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;JUMBO_NAME='&lt;SPAN&gt;R80_20_JUMBO_HF_MAIN'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;$CPDIR/bin/cpprod_util CPPROD_GetValue "CPUpdates/6.0/BUNDLE_R80_20_JUMBO_HF_MAIN" SU_Build_Take 0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm thinking about just tweaking the installed_jumbo_take command and pushing it out as a custom clish command on R80.20 gateway.&amp;nbsp; But I'll check with support to see if they is any reason not to use this logic.&amp;nbsp; I think as long as the R80.10 and R80.20 code train use a consistent naming convention, this should work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways -- I'm still curious if others have a different solution for this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 18:12:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32597#M1999</guid>
      <dc:creator>Bryce_Myers</dc:creator>
      <dc:date>2019-02-12T18:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32598#M2000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For those that are curious about the cpprod_util, it is pulling from the registry:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$CPDIR/registry/HKLM_registry.data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example from R80.20:&lt;/P&gt;&lt;P&gt;: (CPUpdates&lt;BR /&gt; :CurrentVersion (6.0)&lt;BR /&gt; : (6.0&lt;BR /&gt; : (HotFixes&lt;BR /&gt; :BUNDLE_R80_20_JUMBO_HF_MAIN (1)&lt;BR /&gt; )&lt;BR /&gt; : (BUNDLE_R80_20_JUMBO_HF_MAIN&lt;BR /&gt; :SilentUninstall (NONE)&lt;BR /&gt; :ping_package (1)&lt;BR /&gt; :RollbackPackage ("/opt/CPda/backup/")&lt;BR /&gt; :PackageFile (Check_Point_R80_20_JUMBO_HF_Bundle_T33_sk137592_FULL.tgz)&lt;BR /&gt; :&lt;SPAN style="color: #ff6600;"&gt;SU_Build_Take (33)&lt;/SPAN&gt;&lt;BR /&gt; )&lt;BR /&gt; )&lt;BR /&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:11:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32598#M2000</guid>
      <dc:creator>Bryce_Myers</dc:creator>
      <dc:date>2019-02-12T20:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32599#M2001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the syntax for different versions here&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk98028" target="_blank"&gt;sk98028 - Jumbo Hotfix Accumulator FAQ&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2019 09:02:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32599#M2001</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2019-02-13T09:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32600#M2002</link>
      <description>&lt;DIV class=""&gt;Show Jumbo Take as implemented in &lt;A href="https://community.checkpoint.com/docs/DOC-2214-common-check-point-commands-ccc" target="_blank" rel="noopener"&gt;our ccc script&lt;/A&gt;.&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;cpinfo -y all 2&amp;gt;/dev/null|grep HF_MAIN|grep -v _SC|tail -n1|awk '{print $NF}'&lt;/LI-CODE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 27 Mar 2023 11:48:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/32600#M2002</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2023-03-27T11:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/101504#M5292</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;cpinfo -y FW1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 13:26:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/101504#M5292</guid>
      <dc:creator>Daniel_Castleto</dc:creator>
      <dc:date>2020-11-09T13:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get the Jumbo Take Version on R80.X</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/101543#M5293</link>
      <description>&lt;P&gt;Many creative ways to do this, I needed a script to return the jha number only to implemented extended snmp.&lt;/P&gt;
&lt;P&gt;Stole a few lines from the check point healthcheck script and came up with a solution that works on both R77.x and R80.x&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;#!/bin/bash

cp_version=$(cat /etc/cp-release | egrep -ow 'R[0-9\.]+')
cp_underscore_version=$(echo $cp_version | sed 's/\./_/')
installed_jumbo_version=$(grep ":installed_on " /config/active | grep Bundle | grep -v bundle | grep JUMBO | egrep "$cp_version|$cp_underscore_version" | egrep -o 'T[0-9]{1,3}' | tr -d "T" | sort -n | tail -n1)

echo $installed_jumbo_version&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 17:18:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/How-do-you-get-the-Jumbo-Take-Version-on-R80-X/m-p/101543#M5293</guid>
      <dc:creator>Sigbjorn</dc:creator>
      <dc:date>2020-11-09T17:18:06Z</dc:date>
    </item>
  </channel>
</rss>

