CPInfo is an auto-updatable utility that collects diagnostics data on a customer’s machine at the time of execution and uploads it to Check Point servers (it replaces the standalone cp_uploader utility for uploading files to Check Point servers).
The CPInfo output file allows analyzing customer setups from a remote location. Check Point support engineers can open the CPInfo file in a demo mode while viewing actual customer Security Policies and Objects. This allows the in-depth analysis of customer’s configuration and environment settings.
Here is the Process to upload cpinfo file to checkpoint server:-
Open the Smart Update from the smart console and select your gateway and right-click on it and select the option ” Upload diagnostics (CPinfo) to checkpoint
then enter the checkpoint information below.
Login to the firewall with SSH that you wants to collect cpinfo, then enter in expert mode and enter the command ” cpinfo “.
It will create file locally, now you need to do Winscp
and download this file on your local machine.
Open WinSCP and select the SCP protocol and enter the IP-add and authentication details.
then you will get the below error messages,
You need to change your user shell,
Need to change the shell.
Expert#chsh -s /bin/bash admin
To revert back the shell :-
Expert#chsh -s /etc/cli.sh admin
You need to replace your username with admin if you want to change the shell for your own user account.
Now you are able to login to your checkpoint firewall. Just drag and drop your file to your local desktop.
After selecting the “Root” directory, you are able to view all the file system path.
Hope my article “How to upload cpinfo file to checkpoint server” helps. If you have any query, feel free to comment.