<?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 Scripting for Healthcheck.sh in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86202#M4893</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to automate the healthcheck.sh script to run for a few of our clients - problem comes in with trying to get the results to come back to me.&lt;BR /&gt;&lt;BR /&gt;I want to run this from the Manager as some clients have large environments and then have the results of the healthcheck sent to me, best way would be email but if there are any other options I'd be interested to hear them.&lt;BR /&gt;&lt;BR /&gt;I can make a cron script to run the healthcheck but am having trouble figuring out how to script the rest, any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 08:28:20 GMT</pubDate>
    <dc:creator>GordoBosma</dc:creator>
    <dc:date>2020-05-25T08:28:20Z</dc:date>
    <item>
      <title>Scripting for Healthcheck.sh</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86202#M4893</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to automate the healthcheck.sh script to run for a few of our clients - problem comes in with trying to get the results to come back to me.&lt;BR /&gt;&lt;BR /&gt;I want to run this from the Manager as some clients have large environments and then have the results of the healthcheck sent to me, best way would be email but if there are any other options I'd be interested to hear them.&lt;BR /&gt;&lt;BR /&gt;I can make a cron script to run the healthcheck but am having trouble figuring out how to script the rest, any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 08:28:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86202#M4893</guid>
      <dc:creator>GordoBosma</dc:creator>
      <dc:date>2020-05-25T08:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for Healthcheck.sh</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86328#M4894</link>
      <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;I forgot to add, another problem when running the cron job for this is that when run on the manager&lt;BR /&gt;"./healthcheck.sh -r" it prompts me to select the gateway, is there a way to select which gateway to run the healthcheck on in the command?&lt;BR /&gt;&lt;BR /&gt;./healthcheck.sr -r "gateway name" still prompts me for the gateway - I would like to automate this to run monthly but if it needs to prompt the gateway maybe I will have to set these cron jobs up on each of the gateways?&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 11:36:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86328#M4894</guid>
      <dc:creator>GordoBosma</dc:creator>
      <dc:date>2020-05-26T11:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting for Healthcheck.sh</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86472#M4903</link>
      <description>&lt;P&gt;I highly recommend not running the healthcheck.sh script via cron as some issues have been reported when doing so such as multiple instances of a simple bash command running which shouldn't have taken long to execute but somehow got stuck.&lt;/P&gt;
&lt;P&gt;When you do run the script from the management server, the files are pulled from the gateway automatically.&amp;nbsp; You should be able to find the resulting files in /var/log/ on the management server.&amp;nbsp; The files will be named using the gateway hostname and timestamp.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 12:54:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Scripting-for-Healthcheck-sh/m-p/86472#M4903</guid>
      <dc:creator>Nathan_Davieau</dc:creator>
      <dc:date>2020-05-27T12:54:50Z</dc:date>
    </item>
  </channel>
</rss>

