<?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: run healthcheck Centrally and send output by email in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105298#M20210</link>
    <description>&lt;DIV class=""&gt;
&lt;P&gt;You asked for an easy way, not an automated one. However, you could simply combine solutions that have been already posted on this board to get what you "want?".&lt;/P&gt;
&lt;P&gt;Let's assume you already installed &lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/Gaia-Health-Check-Script-v7-13-released/td-p/100786" target="_self"&gt;healthcheck.sh&lt;/A&gt; on every gateway in /home/admin, then you could start from running the example below as a scheduled job:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;for i in `grep 'sic_name\|ipaddr' $FWDIR/conf/objects.C|grep -A1 sic_name|grep 'ipaddr '|tr -d ':ipadr ()\t'`; do cprid_util -server $i -verbose rexec -rcmd /bin/bash -c '/home/admin/healthcheck.sh'; done &amp;gt; healthcheck_all_$(date +%Y%m%d%H%M); YOUR_EMAIL_ROUTINE&lt;/LI-CODE&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 13 Dec 2020 20:42:58 GMT</pubDate>
    <dc:creator>Danny</dc:creator>
    <dc:date>2020-12-13T20:42:58Z</dc:date>
    <item>
      <title>run healthcheck Centrally and send output by email</title>
      <link>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105015#M20156</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is there easy way to run healthcheck in central way on All GWs, or Selected GWs, and then sent output by email with attachment/s.&lt;/P&gt;&lt;P&gt;it is so&amp;nbsp;&lt;SPAN&gt;necessary, yet i didn't found any tool to do that inside checkpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you know a way i would appretiate it&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 15:58:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105015#M20156</guid>
      <dc:creator>Amir_Arama</dc:creator>
      <dc:date>2020-12-10T15:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: run healthcheck Centrally and send output by email</title>
      <link>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105032#M20159</link>
      <description>&lt;P&gt;Of course. Just install my &lt;A href="https://community.checkpoint.com/t5/SmartConsole-Extensions/Gaia-Health-Check/m-p/82052" target="_self"&gt;SmartConsole Extension&lt;/A&gt;, select a specific gateway, run the health check, copy &amp;amp; paste the result into a mail. Done.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 17:36:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105032#M20159</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-12-10T17:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: run healthcheck Centrally and send output by email</title>
      <link>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105264#M20203</link>
      <description>&lt;P&gt;thanks Danny. i use your extention. i wanted something automatic that will run on like 10 gws and will send all outputs by one mail. instead of running, and waiting, and copy paste send.. that's a lot of time consuming actions.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 08:13:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105264#M20203</guid>
      <dc:creator>Amir_Arama</dc:creator>
      <dc:date>2020-12-13T08:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: run healthcheck Centrally and send output by email</title>
      <link>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105265#M20204</link>
      <description>&lt;P&gt;In that case all is clear: You have to develop the tool yourself (like Danny did) and proudly present it here when finished 8)&lt;/img&gt;!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 09:41:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105265#M20204</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2020-12-13T09:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: run healthcheck Centrally and send output by email</title>
      <link>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105298#M20210</link>
      <description>&lt;DIV class=""&gt;
&lt;P&gt;You asked for an easy way, not an automated one. However, you could simply combine solutions that have been already posted on this board to get what you "want?".&lt;/P&gt;
&lt;P&gt;Let's assume you already installed &lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/Gaia-Health-Check-Script-v7-13-released/td-p/100786" target="_self"&gt;healthcheck.sh&lt;/A&gt; on every gateway in /home/admin, then you could start from running the example below as a scheduled job:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;for i in `grep 'sic_name\|ipaddr' $FWDIR/conf/objects.C|grep -A1 sic_name|grep 'ipaddr '|tr -d ':ipadr ()\t'`; do cprid_util -server $i -verbose rexec -rcmd /bin/bash -c '/home/admin/healthcheck.sh'; done &amp;gt; healthcheck_all_$(date +%Y%m%d%H%M); YOUR_EMAIL_ROUTINE&lt;/LI-CODE&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 13 Dec 2020 20:42:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/run-healthcheck-Centrally-and-send-output-by-email/m-p/105298#M20210</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-12-13T20:42:58Z</dc:date>
    </item>
  </channel>
</rss>

