> Source: [sk88240](https://support.checkpoint.com/results/sk/sk88240)

# sk88240 - R77.x  and R80.x License Information Tool

| Property | Value |
|----------|-------|
| Solution ID | sk88240 |
| Date Created | 2012-11-21 |
| Last Modified | 2021-08-31 |
| Technical Level | General |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS) |
| OS | Linux, Gaia |

## Solution

**Table of Contents:**

* Introduction
* Limitations
* Collected data
* Procedure for Management Server R80.10 and higher
* Procedure for Management Server R75.47 / R77 / R77.10 / R77.20 / R77.30
* Procedure for Management Server R75.46 and lower / R76
* Procedure to upload XML file to UserCenter

Introduction {#Introduction}
----------------------------

This article describes how to use a special Check Point tool that extracts license information from Check Point devices and then uploads that information to Check Point UserCenter. This tool works on Security Management Server and on Multi-Domain Security Management Servers.

**Please read the entire article in order to understand the limitations of this process.**

Good license visibility can substantially improve the user's ability to understand what he sees in UserCenter, and therefore makes his work more efficient. The first step to reach better license visibility is presented in this article. The process described below enables uploading the device names and listing them next to the appliances that appear in UserCenter.

**Important Note: In R75.47 and R77 (and higher) versions, this tool is installed as part of the release and is available from SmartDashboard and on Command Line. For more information how to use this tool in SmartDashboard R75.47 / R77.X and in SmartConsole R80.10 and higher, refer to [sk94064](http://supportcontent.checkpoint.com/solutions?id=sk94064)**.

Limitations {#Limitations}
--------------------------

* The tool supports only Gaia / SecurePlatform / Linux OS.   

* The tool over-writes the generated output file each time it is executed.   

* On Multi-Domain Security Management Servers, user must run the tool while in the context of each relevant Domain Management Server.

Collected data {#Collected data}
--------------------------------

The following information is collected:

* Module name
* IP Address
* MAC Address
* Version
* Install Policy time stamp
* Appliance model
* Machine type (gateway/management/etc.)
* OS
* Is this VSX?
* Cluster name (if exists)
* Hit Count last time stamp
* APPI last update
* IPS last update
* Hardware (memory, CPU, network card, etc.)
* License data
* Active blades

On **Gaia** based systems, Licensing Tool collects hardware characteristics (RAM, CPU, Disk, etc.) - in UserCenter, this information is called "assets".  
The information is not displayed in UserCenter, but rather only saved with all other information.

This hardware information appears in the output file **`licenseDataCollector.xml`** in the "**`<assets>`**" section.

*Example*:
>
> ```
> - <assets>
>   - <asset>
>     - <name>
>       - <![CDATA[ Platform  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ T-140-00  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ Model  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ Check Point 4400  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ Serial Number  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ 1234567890  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ CPU Frequency  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ 2593.656  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ Disk Model  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ WDC WD2503ABYX-01WERA1  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ Disk Capacity  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ 251 GB  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ Memory Slot 1 Size  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ 4096 MB  ]]> 
>       </value>
>     </asset>
>   - <asset>
>     - <name>
>       - <![CDATA[ Number of line cards  ]]> 
>       </name>
>     - <value>
>       - <![CDATA[ 0  ]]> 
>       </value>
>     </asset>
>   </assets>
> ```

Procedure for Management Server R80.10 and higher {#Procedure for Management Server R80.10 and higher}
------------------------------------------------------------------------------------------------------

Management will run Sync With User Center once in a day (at 23:00). And will create file: `/tmp/managementDiagnosticReadable.xml`

Upload the file "Step 3".

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/sk882401902100632.png)

Procedure to collect Security Gateway information data from Management Server R75.47 / R77 / R77.10 / R77.20 / R77.30
---------------------------------------------------------------------------------------------------------------------

1. Update license and contract information on the relevant Security Management Server / relevant Domain Management Server using SmartUpdate (at the top, go to the '`Licenses & Contracts`' menu - use the '`Get All Licenses`' option and the '`Update Contracts`' menu).   

2. Run the tool in one of the following ways:   

   * Either run the tool from the SmartDashboard: In SmartDashboard, go to '`Help`' menu - click on '`Sync Now`'.  
     > Refer to [sk94064](http://supportcontent.checkpoint.com/solutions?id=sk94064).
   * Or run the tool from the command line:   

     1. Connect to command line on Security Management Server / Multi-Domain Security Management Server (over SSH, or console).   

     2. Log in to Expert mode.   

     3. Execute the relevant script:   

        * On Security Management Server, simply execute the script:   

          **`[Expert@HostName]# $FWDIR/bin/licenseDataCollector.sh [-debug]`**   

        * On Multi-Domain Security Management Server, switch to the context of relevant Domain Management Server and then execute the script:   

          **`[Expert@HostName]# mdsenv <IP or Name of Domain Management Server>`**   
          **`[Expert@HostName]# $FWDIR/bin/licenseDataCollector.sh [-debug]`**

        <br />

        <br />

     4. Output files:   

        * Data will be collected in **`$FWDIR/tmp/licenseDataCollector/licenseDataCollector.xml`** file (actually, the output file will be `$FWDIR/tmp/<Name_of_This_Script>/<Name_of_This_Script>.xml`).   

        * If the script was run with "**`-debug`** " flag, then debug files will be stored in **`$FWDIR/bin/licenseDataCollector.sh-debug.tgz`** file (actually, the debug output file will be `$FWDIR/bin/<Name_of_This_Script>-debug.tgz`).

        <br />

        <br />

     5. Upload the output file **`licenseDataCollector.xml`** to the UserCenter.  
        Refer to "Procedure to upload XML file to UserCenter" section.

Procedure to collect Security Gateway information data from Management Server R75.46 and lower / R76 {#Procedure for MGMT R75.46 and lower / R76}
-------------------------------------------------------------------------------------------------------------------------------------------------

1. Update license and contract information on the relevant Security Management Server / relevant Domain Management Server using SmartUpdate (at the top, go to the '`Licenses & Contracts`' menu - use the '`Get All Licenses`' option and the '`Update Contracts`' menu).   

2. Download the shell archive [collectLicenseData.sh](http://supportcontent.checkpoint.com/file_download?id=22021) to your computer.   

3. Transfer the shell archive '`collectLicenseData.sh`' to Security Management Server / Multi-Domain Security Management Server (into some directory, e.g., `/some_path_to_archive/`).   

4. Connect to command line on Security Management Server / Multi-Domain Security Management Server (over SSH, or console).   

5. Log in to Expert mode.   

6. Assign the execute permissions to shell archive '`collectLicenseData.sh`':   

   **`[Expert@HostName]# cd /some_path_to_archive/`**   
   **`[Expert@HostName]# chmod u+x collectLicenseData.sh`**   

7. Run the shell archive '`collectLicenseData.sh`' to generate the output file `licenseDataCollector.xml`:   

   * On Security Management Server, simply execute the script:   

     **`[Expert@HostName]# cd /some_path_to_archive/`**   
     **`[Expert@HostName]# ./collectLicenseData.sh -r`**   

   * On Multi-Domain Security Management Server, switch to the context of relevant Domain Management Server and then execute the script:   

     **`[Expert@HostName]# mdsenv <IP or Name of Domain Management Server>`**   
     **`[Expert@HostName]# cd /some_path_to_archive/`**   
     **`[Expert@HostName]# ./collectLicenseData.sh -r`**

   <br />

   <br />

8. Upload the output file **`licenseDataCollector.xml`** to the UserCenter.  
   Refer to "Procedure to upload XML file to UserCenter" section.

Procedure to upload XML file to UserCenter and how data is reflected in UserCenter {#Procedure to upload XML file to UserCenter}
--------------------------------------------------------------------------------------------------------------------------------

1. Click on the following link: [https://usercenter.checkpoint.com/usercenter/portal?action=UCPreLogin\&redirectTo=LicensingInformationTool](https://usercenter.checkpoint.com/usercenter/portal?action=UCPreLogin&redirectTo=LicensingInformationTool)   

   Alternatively, go to '`My Products`' menu - click on '`License Info Tool`'.   

2. Sign in:   

   [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/Sign_In_2.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/Sign_In_2.png "Click the image to see it in full size in a new tab/window")   

3. After signing in, you will be redirected to the License Information Tool page:   

   [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/License_Info_Tool.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/License_Info_Tool.png "Click the image to see it in full size in a new tab/window")   

4. Follow the instructions on the screen.   

   **Important Note:** Skip '`Step 1`' for R75.47 / R77 / R77.10 / R77.20 / R77.30 (because the License Info Script is already integrated).   

5. Wait until you see that the information has been successfully uploaded and updated.   

6. Click on '`Go to My Products`' button.   

7. Select your account.   

8. Below each appliance, you will see the device name highlighted in yellow.   

   [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/Products_page_after_Upload_2.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/Products_page_after_Upload_2.png "Click the image to see it in full size in a new tab/window")   

9. Hovering over the Device Name will open a window, in which the Capture Date is displayed.   

   [![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/Products_page_after_Upload_including_Expiration.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk88240/Products_page_after_Upload_including_Expiration.png "Click the image to see it in full size in a new tab/window")

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
