<?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 Mass Modify Log Server of All Gateways (replace, add, remove) - MDS/SMS - 80.10 api in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mass-Modify-Log-Server-of-All-Gateways-replace-add-remove-MDS/m-p/39778#M2501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another shell script that came from a customer request. The customer had 500+ gateways that they needed to replace a log server on each (remove old and add new) Customer&amp;nbsp;is an MDS shop but I added SMS scripts as well to perform the same functions.&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;The script is setup to run on the Mgmt station itself and uses the 'mgmt_cli -r true' function. The script will list all servers with the logging blade enabled to ensure spelling is correct when used. The output file is already executable and ready to run to complete changes.&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;There are&amp;nbsp;six potential scripts based on your needs;&lt;/P&gt;&lt;UL style="color: #333333; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;replace_log_alerts_server-MDS.sh&lt;UL style="border: 0px; font-weight: inherit; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;This version will output the replace script for&amp;nbsp;all gateways of a given Domain. It will allow you to&amp;nbsp;remove&amp;nbsp;one&amp;nbsp;log server&amp;nbsp;and&amp;nbsp;add&amp;nbsp;one, all&amp;nbsp;in one script.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;add_log_alerts_server-MDS.sh&lt;UL&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;add script for&amp;nbsp;all gateways of a given Domain. It will allow you to&amp;nbsp;add one&amp;nbsp;log server&amp;nbsp;to all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;remove_log_alerts_server-MDS.sh&lt;/SPAN&gt;&lt;UL style="background-color: #ffffff; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;remove script for&amp;nbsp;all gateways of a given Domain. It will allow you to&amp;nbsp;remove one&amp;nbsp;log server from all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;replace_log_alerts_server-SMS.sh&lt;UL style="border: 0px; font-weight: inherit; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;This version will output the replace script for&amp;nbsp;all gateways of a given Managment Server. It will allow you to&amp;nbsp;remove&amp;nbsp;one&amp;nbsp;log server&amp;nbsp;and&amp;nbsp;add&amp;nbsp;one, all&amp;nbsp;in one script.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;add_log_alerts_server-SMS.sh&lt;UL style="margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;add script for&amp;nbsp;all gateways of a given Managment Server. It will allow you to&amp;nbsp;add one&amp;nbsp;log server&amp;nbsp;to all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;remove_log_alerts_server-SMS.sh&lt;/SPAN&gt;&lt;UL style="background-color: #ffffff; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;remove script for&amp;nbsp;all gateways of a given Managment Server. It will allow you to&amp;nbsp;remove one&amp;nbsp;log server from all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Feedback welcome this was a simple project that came out of a client request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2018 01:52:57 GMT</pubDate>
    <dc:creator>Adam_Forester</dc:creator>
    <dc:date>2018-04-23T01:52:57Z</dc:date>
    <item>
      <title>Mass Modify Log Server of All Gateways (replace, add, remove) - MDS/SMS - 80.10 api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mass-Modify-Log-Server-of-All-Gateways-replace-add-remove-MDS/m-p/39778#M2501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another shell script that came from a customer request. The customer had 500+ gateways that they needed to replace a log server on each (remove old and add new) Customer&amp;nbsp;is an MDS shop but I added SMS scripts as well to perform the same functions.&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;The script is setup to run on the Mgmt station itself and uses the 'mgmt_cli -r true' function. The script will list all servers with the logging blade enabled to ensure spelling is correct when used. The output file is already executable and ready to run to complete changes.&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;There are&amp;nbsp;six potential scripts based on your needs;&lt;/P&gt;&lt;UL style="color: #333333; background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;replace_log_alerts_server-MDS.sh&lt;UL style="border: 0px; font-weight: inherit; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;This version will output the replace script for&amp;nbsp;all gateways of a given Domain. It will allow you to&amp;nbsp;remove&amp;nbsp;one&amp;nbsp;log server&amp;nbsp;and&amp;nbsp;add&amp;nbsp;one, all&amp;nbsp;in one script.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;add_log_alerts_server-MDS.sh&lt;UL&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;add script for&amp;nbsp;all gateways of a given Domain. It will allow you to&amp;nbsp;add one&amp;nbsp;log server&amp;nbsp;to all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;remove_log_alerts_server-MDS.sh&lt;/SPAN&gt;&lt;UL style="background-color: #ffffff; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;remove script for&amp;nbsp;all gateways of a given Domain. It will allow you to&amp;nbsp;remove one&amp;nbsp;log server from all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;replace_log_alerts_server-SMS.sh&lt;UL style="border: 0px; font-weight: inherit; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;This version will output the replace script for&amp;nbsp;all gateways of a given Managment Server. It will allow you to&amp;nbsp;remove&amp;nbsp;one&amp;nbsp;log server&amp;nbsp;and&amp;nbsp;add&amp;nbsp;one, all&amp;nbsp;in one script.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;add_log_alerts_server-SMS.sh&lt;UL style="margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;add script for&amp;nbsp;all gateways of a given Managment Server. It will allow you to&amp;nbsp;add one&amp;nbsp;log server&amp;nbsp;to all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;remove_log_alerts_server-SMS.sh&lt;/SPAN&gt;&lt;UL style="background-color: #ffffff; margin: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&amp;nbsp;This version will output the&amp;nbsp;remove script for&amp;nbsp;all gateways of a given Managment Server. It will allow you to&amp;nbsp;remove one&amp;nbsp;log server from all gateways at&amp;nbsp;once.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #333333; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Feedback welcome this was a simple project that came out of a client request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 01:52:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mass-Modify-Log-Server-of-All-Gateways-replace-add-remove-MDS/m-p/39778#M2501</guid>
      <dc:creator>Adam_Forester</dc:creator>
      <dc:date>2018-04-23T01:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Mass Modify Log Server of All Gateways (replace, add, remove) - MDS/SMS - 80.10 api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Mass-Modify-Log-Server-of-All-Gateways-replace-add-remove-MDS/m-p/39779#M2502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam, great work!&lt;/P&gt;&lt;P&gt;I suggest that you pack all of your usefull utility scripts (from the past too) into a one big library package, running each script with parameters, API wise.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 08:12:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Mass-Modify-Log-Server-of-All-Gateways-replace-add-remove-MDS/m-p/39779#M2502</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-04-23T08:12:59Z</dc:date>
    </item>
  </channel>
</rss>

