<?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: Security Gateway Inventory  in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32585#M1995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have created a bunch of scripts that we use to check all kinds of stuff on our managed gateways, but provide our script with a list of hosts to use instead of collecting the systems from a management-server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To gather the information, we use SSH with certificates to access the devices. It gets the following information from the systems:&lt;/P&gt;&lt;P&gt;Hostname, CP-version (major &amp;amp; minor), cluster-status, secureXL status, uptime, if DNS and NTP are working and if the time is set correctly, if stateful inspection is on or off, the age of the AntiBot/AntiVirus/IPS/Appl/URLf-databases, the size of /var/log/messages (if this is still the default size, it will set it to 10x2MB), if the system is 32 or 64-bit, CPUSE-version, if the box is licensed, the model and the serial number.&lt;/P&gt;&lt;P&gt;The scripts are rather ugly put together, but get the job done and are run on a nightly basis.&lt;/P&gt;&lt;P&gt;The gathered intel is written to a file, so it can be read by other processes and can be used with information we gathered from other vendors' equipment that we manage for customers.&lt;/P&gt;&lt;P&gt;This is combined with information of the expiration-date of VPN-certificates and the version-database we compiled ourselves and this is presented on a web-server, so we have a full overview of (almost) all systems we manage and can do this without the use of SNMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of SSH&amp;nbsp; that runs over a list of systems to check is a more general way of gathering information about the systems we manage, but a lot quicker than cprid_util (which we do use, but only to gather info on SMB-devices that don't do scripts).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2018 15:23:31 GMT</pubDate>
    <dc:creator>Onsight_Solutio</dc:creator>
    <dc:date>2018-12-11T15:23:31Z</dc:date>
    <item>
      <title>Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32547#M1957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;About 6 months ago, CP gave us a script to run from Provider 1 to grab all gateways and their corresponding model/software version. However, it was a very inconsistent result. Meaning that, some (active) gateways came back with just host name and IP and then some came back with host name/IP/OS Version/model number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody aware of a way to pull : Gateway Info that includes (Hostname/IP/OS-Version/Model)? I know&amp;nbsp; you can export a list through network objects, but I just want active count for inventory. Any such method/script?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 22:53:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32547#M1957</guid>
      <dc:creator>John_Lovinggood</dc:creator>
      <dc:date>2018-02-24T22:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32548#M1958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Small update 27th Sep 2018 - added MAC address of Mgmt interface as requested&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got little curious since no one replied &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have only tested it with R77.30, R80.10 and R76 (chassis ver) and CP appliances...&amp;nbsp;&lt;/P&gt;&lt;P&gt;You get semicolon separated text like this - you can format it better if you need to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/70970_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You run it on MDS - it's fairly slow but I wanted to keep it as simple as possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script will use&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;cpmiquerybin&lt;/STRONG&gt;&lt;/EM&gt; to fetch all physical gateways from all CMAs and then&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;cprid_util&lt;/STRONG&gt; &lt;/EM&gt;to run some commands to collect numbers, so it's fully autonomos - does not need any input nor extra usernames/port openings etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've added ugly HTML version now too in output.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/70969_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;#!/bin/bash&lt;BR /&gt;. /opt/CPshared/5.0/tmp/.CPprofile.sh&lt;BR /&gt;&lt;BR /&gt;if [ -f logfile ]; then rm logfile; fi&lt;BR /&gt;echo '&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&amp;gt;' &amp;gt; output.html&lt;BR /&gt;echo '&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Gateway Versions&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;font size="-1"&amp;gt;&amp;lt;table style="text-align: left; width: 100%; font-family: Helvetica,Arial,sans-serif;" border="1" cellpadding="5" cellspacing="2"&amp;gt;&amp;lt;tbody&amp;gt;' &amp;gt;&amp;gt; output.html&lt;BR /&gt;echo '&amp;lt;tr style="font-weight: bold; background-color: rgb(0, 0, 102); color: white;"&amp;gt;&amp;lt;td&amp;gt;GW&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;IP&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;MODEL&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;MAJOR&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;TAKE&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;MAC&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' &amp;gt;&amp;gt; output.html&lt;BR /&gt;&lt;BR /&gt;for CMA_NAME in $($MDSVERUTIL AllCMAs); do mdsenv $CMA_NAME; echo "CMA $CMA_NAME"; cpmiquerybin attr "" network_objects " (type='cluster_member' &amp;amp; vsx_cluster_member='true' &amp;amp; vs_cluster_member='true') | (type='cluster_member' &amp;amp; (! vs_cluster_member='true')) | (vsx_netobj='true') | (type='gateway'&amp;amp;cp_products_installed='true' &amp;amp; (! vs_netobj='true') &amp;amp; connection_state='communicating')" -a __name__,ipaddr; done 1&amp;gt;&amp;gt; logfile 2&amp;gt;&amp;gt; logfile&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;while read line; do&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ `echo "$line" | grep -c ^CMA` -gt 0 ]; then&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CMA_NAME=`echo "$line" | awk '{print $2}'`&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mdsenv $CMA_NAME&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GW=`echo "$line" | awk '{print $1}'`&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IP=`echo "$line" | awk '{print $2}'`&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODEL=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd /bin/clish -s -c 'show asset system' | grep ^Model | awk -F: '{print $2}' | sed&amp;nbsp; 's/ Check Point //'`&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Fix for chassis&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ "x$MODEL" = "x" ]; then MODEL=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd bash -c "dmiparse System Product"`; if [ "x$MODEL" = "xA-40" ]; then MODEL="41000"; fi; fi&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAKE=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd bash -c "grep 'was installed successfully' /opt/CPInstLog/DA_UI.log" | egrep "Image|Jumbo|Upgrade|Bundle_T" | tail -1 | sed 's/Take/#/' | sed 's/was/#/' | sed 's/)//' | awk -F# '{print "Take"$2}' | xargs`&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Fix for earlier releases or when take cannot be read from DA logs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ "x$TAKE" = "x" ]; then TAKE=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd bash -c "cpinfo -y FW1" | grep HOTFIX | tail -1 | awk '{print $1}'`; fi&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Fix for manually imported package installations&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ `echo $TAKE | wc -w` -gt 2 ]; then&amp;nbsp; TAKE=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd bash -c "grep 'was installed successfully' /opt/CPInstLog/DA_UI.log" | egrep "Bundle_T" | tail -1 | sed 's/_T/#T/' | awk -F# '{print $2}' | sed 's/_/ /' | sed 's/T//' |awk '{print "Take "$1}'`; fi&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAJOR=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd bash -c "fw ver" |&amp;nbsp; sed 's/This is Check Point VPN-1(TM) &amp;amp; FireWall-1(R) //' | sed "s/This is Check Point's software version //" | awk '{print $1}'`&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAC=`$CPDIR/bin/cprid_util -server $IP -verbose rexec -rcmd bash -c "ifconfig -a" | egrep "Mgmt|Internal|eth0" | head -1 | awk '{print $5}'`&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "$GW;$IP;$MODEL;$MAJOR;$TAKE;$MAC"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo "&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;$GW&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;$IP&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;$MODEL&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;$MAJOR&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;$TAKE&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;$MAC&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;" &amp;gt;&amp;gt; output.html&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;BR /&gt;&lt;BR /&gt;done &amp;lt; logfile&lt;BR /&gt;&lt;BR /&gt;echo '&amp;lt;/tbody&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;' &amp;gt;&amp;gt; output.html&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 12:15:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32548#M1958</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-03-21T12:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32549#M1959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kaspars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was this script supposed to be ran in a special way? When attempting to run this I kept receiving an error regarding the command "&amp;nbsp;AllCMAs".&amp;nbsp; Is this specific command on a certain version of hotfix or a special add in etc?&amp;nbsp; I am new to the Check Point scripting world so forgive me if the question is a little newbish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 20:45:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32549#M1959</guid>
      <dc:creator>Patrick_B</dc:creator>
      <dc:date>2018-04-02T20:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32550#M1960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you running MDS or regular management server? That command and script itself is meant for MDS type management.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 20:57:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32550#M1960</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-04-02T20:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32551#M1961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You know this means I have to move this thread to &lt;A href="https://community.checkpoint.com/community/developers?sr=search&amp;amp;searchId=0678ff86-08f7-4a64-86d4-c8659320f45b&amp;amp;searchIndex=0" target="_blank"&gt;https://community.checkpoint.com/community/developers?sr=search&amp;amp;searchId=0678ff86-08f7-4a64-86d4-c8659320f45b&amp;amp;searchIndex=0&lt;/A&gt;‌, right? &lt;IMG src="https://community.checkpoint.com/legacyfs/online/checkpoint/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 09:18:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32551#M1961</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-06-21T09:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32552#M1962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" style="color: #191919; background: #efefef; border: 0px none; margin: 0px 0px 10px; padding: 9.5px;"&gt;mgmt_cli show gateways-and-servers details-level "full" &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-gateways-and-servers~v1.1%20" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-gateways-and-servers~v1.1%20"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="" style="color: #191919; background: #efefef; border: 0px none; margin: 0px 0px 10px; padding: 9.5px;"&gt;{&lt;BR /&gt; "from": 1,&lt;BR /&gt; "to": 2,&lt;BR /&gt; "total": 2,&lt;BR /&gt; "objects": [{&lt;BR /&gt; "uid": "302bcc2c-b3f1-405b-93dc-a5884288e499",&lt;BR /&gt; "name": "gw_192.0.2.14",&lt;BR /&gt; "type": "simple-gateway",&lt;BR /&gt; "ipv4-address": "192.0.2.14",&lt;BR /&gt; "operating-system": "Gaia",&lt;BR /&gt; "hardware": "Open server",&lt;BR /&gt; "version": "R80",&lt;BR /&gt; "sic-status": "communicating",&lt;BR /&gt; "interfaces": [{&lt;BR /&gt; "interface-name": "eth0",&lt;BR /&gt; "ipv4-address": "192.0.2.201",&lt;BR /&gt; "ipv4-network-mask": "255.255.255.0",&lt;BR /&gt; "ipv4-mask-length": 24,&lt;BR /&gt; "topology": {&lt;BR /&gt; "security-zone": {&lt;BR /&gt; "uid": "237a4cbc-7fb6-4d50-872a-4904468271c4",&lt;BR /&gt; "name": "ExternalZone",&lt;BR /&gt; "type": "security-zone",&lt;BR /&gt; "domain": {&lt;BR /&gt; "uid": "a0bbbc99-adef-4ef8-bb6d-defdefdefdef",&lt;BR /&gt; "name": "Check Point Data",&lt;BR /&gt; "domain-type": "data domain"&lt;BR /&gt; }&lt;BR /&gt; },&lt;BR /&gt; "leads-to-internet": true&lt;BR /&gt; },&lt;BR /&gt; "dynamic-ip": false&lt;BR /&gt; }&lt;BR /&gt; ],&lt;BR /&gt; }&lt;/PRE&gt;&lt;P&gt;another option would be:&lt;/P&gt;&lt;PRE class="" style="color: #191919; background: #efefef; border: 0px none; margin: 0px 0px 10px; padding: 9.5px;"&gt;mgmt_cli run-script script-name "show configuration" script "show configuration" targets.1 "corporate-gateway" &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 04:11:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32552#M1962</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-04-03T04:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32553#M1963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good points Tomer. The reason why I'm pulling info from gateways is that ultimately they have the "correct" information themselves about the model, SW version and take number. Else you really rely on the fact that info in the gateway object in mgmt is 100% accurate that can be misleading sometimes after upgrades when people forget to update it.. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;As they say - best to hear from horses mouth &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;https://community.checkpoint.com/people/tomera5b2e7f3-09aa-32f8-96c2-f0f5bfa2988b&lt;/A&gt; Can you get take number of the gateway from mgmt server btw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 04:22:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32553#M1963</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-04-03T04:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32554#M1964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all this is good feedback for us. Consistency between gateway values defined at the Management server and the values on the gateways themselves is something we will try to emphasize better in our next releases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can can pull the take number by running “mgmt_cli run script” on the Management server for the script “clish -C ver” on the selected gateway targets.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 04:52:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32554#M1964</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-04-03T04:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32555#M1965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated script to process manually imported jumbo hotfix packages&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 05:52:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32555#M1965</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-08-09T05:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32556#M1966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where you run this command or is it related to the script? How do you run it?When I run the "mgmt._cli ...." I get an error that the command is not found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 18:41:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32556#M1966</guid>
      <dc:creator>Etheldra_Freder</dc:creator>
      <dc:date>2018-09-13T18:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32557#M1967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mgmt_cli is run from the management (R80 and above).&lt;/P&gt;&lt;P&gt;If you're on an earlier release, that command won't be available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 21:21:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32557#M1967</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-09-13T21:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32558#M1968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that clarification. I tried using the command but I got an error back that the command was not found.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 12:38:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32558#M1968</guid>
      <dc:creator>Etheldra_Freder</dc:creator>
      <dc:date>2018-09-14T12:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32559#M1969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the screenshot? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;You are logged into expert mode? As in bash shell?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 14:09:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32559#M1969</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-09-14T14:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32560#M1970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am.&lt;/P&gt;&lt;P&gt;Also we are on 77:30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 14:51:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32560#M1970</guid>
      <dc:creator>Etheldra_Freder</dc:creator>
      <dc:date>2018-09-14T14:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32561#M1971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;you will need to get to R80.10 first then. API is not supported in R77.30&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:23:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32561#M1971</guid>
      <dc:creator>Kaspars_Zibarts</dc:creator>
      <dc:date>2018-09-14T16:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32562#M1972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please be aware when you respond via email, your signature may be included in the public response that gets posted to CheckMates.&lt;/P&gt;&lt;P&gt;I've removed this information from a couple of posts on this thread as I assume you don't want it out there &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:39:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32562#M1972</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-09-14T16:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32563#M1973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However, the script you provided above should work on R77.30 MDM.&lt;/P&gt;&lt;P&gt;If you're not on MDM, then it probably needs some modification since there isn't a cpmiquerybin binary to get the list of managed gateways.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 16:45:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32563#M1973</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-09-14T16:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32564#M1974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 17:46:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32564#M1974</guid>
      <dc:creator>Etheldra_Freder</dc:creator>
      <dc:date>2018-09-14T17:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32565#M1975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I did not realize that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 21:08:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32565#M1975</guid>
      <dc:creator>Etheldra_Freder</dc:creator>
      <dc:date>2018-09-14T21:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Security Gateway Inventory</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32566#M1976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a script SK85621 that does some of the inventory collection but it does not tell you the specific model for each firewall.&amp;nbsp; I have looked at the attributes and when you use "appliance type" but I would like the specific platform from each individual ( we have a variety). Which attributes gives me that output. I see a list of attributes but not sure which one would do that (since it is not obvious to me in the list of attributes).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 21:11:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Security-Gateway-Inventory/m-p/32566#M1976</guid>
      <dc:creator>Etheldra_Freder</dc:creator>
      <dc:date>2018-09-14T21:11:01Z</dc:date>
    </item>
  </channel>
</rss>

