<?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: mgmt_cli bulk operations and CPU usage/throttling? in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142679#M6616</link>
    <description>&lt;P&gt;Thank you for your help guys! We are under 80.40 but updating soon. Until then, I will try the 500 limit.&lt;/P&gt;&lt;P&gt;I appreciate it!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 12:06:47 GMT</pubDate>
    <dc:creator>namakasand</dc:creator>
    <dc:date>2022-03-01T12:06:47Z</dc:date>
    <item>
      <title>mgmt_cli bulk operations and CPU usage/throttling?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142487#M6612</link>
      <description>&lt;P&gt;Hello friends!&lt;/P&gt;&lt;P&gt;I am working on a script that bulk adds hosts and then bulk adds them to a group. I'm using the mgmt_cli 'host' and 'group' commands like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mgmt_cli -r true add host --batch lots_of_ips.csv

mgmt_cli -r true set group --batch lots_of_ips_2.csv&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My csv files contain approximately 1200 IPs, and the operations are spiking CPU usage and occasionally crashing the API service.&lt;/P&gt;&lt;P&gt;Is there a way to throttle this command somehow, or is my only option increasing the CPU cores on the management server?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 13:13:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142487#M6612</guid>
      <dc:creator>namakasand</dc:creator>
      <dc:date>2022-02-25T13:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli bulk operations and CPU usage/throttling?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142522#M6613</link>
      <description>&lt;P&gt;Most probably not throttling, but getting timed out. If it takes more than 10 min till processed, API web server will throw a timeout error. Try using up to 500 objects in a list when adding^.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 16:07:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142522#M6613</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-02-25T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli bulk operations and CPU usage/throttling?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142537#M6614</link>
      <description>&lt;P&gt;From R80.40, you can leverage the add objects-batch command, which is much more performant than running add host --batch.&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-objects-batch~v1.8%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-objects-batch~v1.8%20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 20:32:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142537#M6614</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-02-25T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: mgmt_cli bulk operations and CPU usage/throttling?</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142679#M6616</link>
      <description>&lt;P&gt;Thank you for your help guys! We are under 80.40 but updating soon. Until then, I will try the 500 limit.&lt;/P&gt;&lt;P&gt;I appreciate it!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 12:06:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/mgmt-cli-bulk-operations-and-CPU-usage-throttling/m-p/142679#M6616</guid>
      <dc:creator>namakasand</dc:creator>
      <dc:date>2022-03-01T12:06:47Z</dc:date>
    </item>
  </channel>
</rss>

