Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Danny
Champion Champion
Champion

Gaia Health Check Script v7.10 released

Check Point released v7.10 of it's Gaia Health Check Script

Also available as SmartConsole Extension!

Script author: @Nathan_Davieau (LinkedIn profile)
QA Director: @Barak_Ran (LinkedIn profile)

What's new:

  • Updated Jumbo Hotfix version info -> already outdated as R80.30 JHF GA Take 191 was also released today
  • Added check for fwaccel debug flags
  • Added check for sim debug flags

What's missing:

  • many checks listed in Check Points Professional Service health check (sample report)
  • Recognition of expired 1-year licenses to avoid warnings on such systems  (example: CPSB-COMP-5-1Y)

Recommended code fix:

  • Improve internet connectivity test (currently just pings 8.8.8.8)  with actually checking if Check Points update servers can be reached (sk83520)
    nc -z -w 3 supportcenter.checkpoint.com 443; if [[ $? -eq 0 ]]; then .. else .. fi​

Download

Package Link Date 
healthcheck.sh script v7.10 30Apr2020

Installation

nc -z -w 3 supportcenter.checkpoint.com 443; if [[ $? -eq 0 ]]; then curl_cli -o healthcheck.tmp -f -s -k "https://supportcenter.checkpoint.com/supportcenter/portal/role/supportcenterUser/page/default.psml/media-type/html?action=portlets.DCFileAction&eventSubmit_doGetdcdetails=&fileid=59369"; l=`grep "HashKey" healthcheck.tmp | head -n1 | awk '{print $3}' | sed 's/href="//' | sed 's/">//'`; s=`echo $l | awk -F/ '{print $6}'`; curl_cli -o healthcheck.sh -f -s -k $l; if [[ `md5sum healthcheck.sh | cut -d " " -f1` == $s ]]; then chmod +x healthcheck.sh; ls -la healthcheck.sh else echo "MD5 hash mismatch of Gaia healthcheck script. Aborting."; rm healthcheck.sh; fi; rm -f healthcheck.tmp; else echo "No HTTPS access to supportcenter.checkpoint.com for script download -> see sk83520"; fi
(1)
1 Reply
rodrigoluz
Explorer

Hi!, 
 
For me it worked like this..
 
 
#!/bin/bash

nc -z -w 3 supportcenter.checkpoint.com 443
if [[ $? -eq 0 ]]; then
       l=$(grep "HashKey" healthcheck.tmp | head -n1 | awk '{print $3}' | sed 's/href="//' | sed 's/">//')
       s=$(echo "$l" | awk -F/ '{print $6}')
       curl_cli -o healthcheck.sh -f -s -k "$l"

       if [[ $(md5sum healthcheck.sh | cut -d " " -f1) == $s ]]; then
             chmod +x healthcheck.sh
             ls -la healthcheck.sh
         else
             echo "MD5 hash mismatch of Gaia healthcheck script. Aborting."
             rm healthcheck.sh
        fi
    rm -f healthcheck.tmp
else
    echo "No HTTPS access to supportcenter.checkpoint.com for script download -> see sk83520"
fi
 
 
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events