<?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: Healthcheck script issue in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22193#M89844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the related &lt;A _jive_internal="true" href="https://community.checkpoint.com/thread/11020-gaia-healthcheck-script-v603-released"&gt;release note for 6.03&lt;/A&gt; to CheckMates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 11:07:27 GMT</pubDate>
    <dc:creator>Danny</dc:creator>
    <dc:date>2019-01-09T11:07:27Z</dc:date>
    <item>
      <title>Healthcheck script issue</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22190#M89841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am experiencing&amp;nbsp;healthcheck script (latest from 6.02 01-02-2019&amp;nbsp;as well as quite old 5.10 10-01-2018) issue, when checking cluster failovers. I can see the very same output on many clusters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;| | Number of Sync Interfaces | OK |&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;| | Cluster Failovers |./healthcheck.sh: line 2781: [[: 008: value too great for base (error token is "008")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;./healthcheck.sh: line 2784: 008: value too great for base (error token is "008")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Expert@FW01A:0]#&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;[Expert@FW01A:0]# cat /var/tmp/failovers.tmp&lt;BR /&gt;Nov 11 01:58:42 Master to Slave&lt;BR /&gt;Nov 11 01:58:42 Master to Slave&lt;BR /&gt;Nov 11 01:38:33 Slave to Master&lt;BR /&gt;Nov 11 01:38:33 Slave to Master&lt;BR /&gt;Nov 11 00:04:48 Master to Slave&lt;BR /&gt;Nov 11 00:04:48 Master to Slave&lt;BR /&gt;Nov 10 23:25:41 Slave to Master&lt;BR /&gt;Nov 10 23:25:41 Slave to Master&lt;BR /&gt;[Expert@FW01A:0]#&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;I do have suspicion, that part of the script checking, how much time since last failover, is not counting correctly, when in log is not mentioned year. In my case, failover happened on Nov 10 2018 and now is Jan 8 2019, but in log is only day and month, not year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;from healthcheck.sh:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px; font-family: 'courier new', courier, monospace;"&gt; #Determine if the year has rolled over since the failover&lt;BR /&gt; if [[ $current_day_of_the_year -ge $failover_day_of_the_year ]]; then&lt;BR /&gt; days_since_failover=$((current_day_of_the_year-failover_day_of_the_year))&lt;BR /&gt; else&lt;BR /&gt; days_since_failover=$((365-failover_day_of_the_year+current_day_of_the_year))&lt;BR /&gt; fi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;Are you experiencing similar issue? I have attached full output from one of affected nodes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 14px;"&gt;All advises are welcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:23:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22190#M89841</guid>
      <dc:creator>Martin_Oles</dc:creator>
      <dc:date>2019-01-08T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Healthcheck script issue</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22191#M89842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Martin.&lt;/P&gt;&lt;P&gt;I have found the issue and will get an updated script added to the SK soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the failover data does not contain a year, the script calculates the number of days into the year that the failover occurred and compares it to the current day (ex: Feb 1st would be day 32).&amp;nbsp; If the current day is less than the failover day, it assumes the failover occurred last year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 17:44:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22191#M89842</guid>
      <dc:creator>Nathan_Davieau</dc:creator>
      <dc:date>2019-01-08T17:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Healthcheck script issue</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22192#M89843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated version&amp;nbsp;6.03 01-08-2019 is working correctly.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 09:49:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22192#M89843</guid>
      <dc:creator>Martin_Oles</dc:creator>
      <dc:date>2019-01-09T09:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Healthcheck script issue</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22193#M89844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the related &lt;A _jive_internal="true" href="https://community.checkpoint.com/thread/11020-gaia-healthcheck-script-v603-released"&gt;release note for 6.03&lt;/A&gt; to CheckMates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 11:07:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Healthcheck-script-issue/m-p/22193#M89844</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2019-01-09T11:07:27Z</dc:date>
    </item>
  </channel>
</rss>

