Also see:
CPinfo is a utility that collects data on a customer's machine at the time of execution. The CPinfo output file enables Check Point's support engineers to analyze customer setups from a remote location. 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 all of customer configuration options and environment settings.
Data Collected:
CPinfo collects the entire gateway installation directory, including
Data Collected:
CPinfo collects the entire gateway installation directory, including
$FWDIR/log/*
files. Some of the other viewable information includes:- Routing tables.
- Output of the
netstat
command. - Output of
ipconfig /all
command. - OS and service-patch levels.
- CPUs and memory.
- Output of
fw ctl pstat
command. - System message logs.
SYNTAX:
cpinfo [-v] [-l] [-n] [-o ] [-r | -t [tablename]] [-c cma ... | -x vs]
- -z: Output gzipped (effective with '-o' option).
- -o: Output to a file and to to the screen.
- -r: Includes the registry (Windows OS - very large output).
- -v: Prints version information.
- -l: Embeds log records (very large output).
- -n: Does not resolve network addresses (cpinfo runs faster).
- -t: Output consists of tables only (for SecuRemote only).
- -c: Get information about the specified CMA (for Provider-1).
- -x: Get information about the specified VS (for VSX).
Supported Platforms
Each supported Operating System (OS) has its own version of CPinfo. CPinfo is OS-sensitive. Download the correct version according to your OS. It is always best to download the latest version of CPinfo. Using an incorrect version is useless, but harmless.
Installing CPinfo
Installing CPinfo involves downloading the proper platform's version of
cpinfo
, extracting the CPinfo file, and running the command to start the CPinfo script. After installing, send the CPinfo file to Check Point Technical Support via email or FTP.You can install cpinfo on:
- Download the latest CPinfo utility here.
Note: If the download is impossible, then- install the package from the
/sysimg/CPwrapper/linux/CPinfo/CPinfo-10-00.i386.rpm
file. - or extract the
/linux/CPinfo/CPinfo-10-00.i386.rpm
utility package from the CD. - Proceed to Step 2e.
- install the package from the
- Run the following commands from the directory where you put the downloaded file :
- Place the file in a temp directory on the target system and cd into that directory.
- Uninstall the current package:
# rpm -e CPinfo-10-00
- Uncompress the downloaded cpinfo package:
# gunzip cpinfo_X.tgz
- Untar the cpinfo tar-ball
# tar -xvf cpinfo_X.tar
- Install the cpinfo utility package:
# rpm -ivh CPinfo-10-00.i386.rpm
Also you can use the# rpm -Uvh --force CPinfo-10-00.i386.rpm
command. - Verify that the cpinfo utility was installed by running the
# rpm -qa | grep CP
command.
Look for theCPinfo-10-00
package. - Check the build number of CPinfo utility:
# cpvinfo /opt/CPinfo-10/bin/cpinfo
Look for the Build Number, it is supposed to be9110000xx
Note:
If for some reason theCPinfo-10-00
package does not appear in the output of the '# rpm -qa | grep CP'
command, try- to rebuild the rpm database by running
# rpm -v --rebuilddb
- logout from the shell and log in.
- reboot the machine.
- to rebuild the rpm database by running
- Create the cpinfo output file with the command:
# cpinfo -n -z -o /var/log/hostname.cpinfo
Automatic Installation
- Log into "Voyager" and download the package to the IPSO machine by clicking 'Configuration'.
- Select 'System Configuration > Packages > Install Package'.
- If FTP is accessible, transfer the
cpinfo.tgz
file to the Site Listing pane. Select the file and click 'Apply'. - Make sure that the package is listed in the Unpack Package pane. Select the package, and then click the "Click here to install/upgrade /opt/packages
.tgz" link. - In case FTP is not accessible, copy the package to
/opt/packages
on the IPSO machine. - Make sure that the package is listed in the Unpack Package pane. Select the package, and then click the "Click here to install/upgrade /opt/packages
.tgz" link. - In the Package Installation and Upgrade window, select the Install checkbox and click 'Apply'.
- In the Manage Packages window, verify that
cpinfo
is enabled.
Manual Installation
- On the IPSO machine, run '
clish
' command - Download the
cpinfo.tgz
file to the IPSO machine home directory via FTP. - Run
add package media ftp addr
user password name cpinfo_ .tgz
Note: If FTP is not accessible, download thecpinfo.tgz
file to the IPSO machine/opt/packages
directory and modify theadd package media
command accordingly. - Login to shell again before running
cpinfo
. - Create the
cpinfo
output file with the command:cpinfo -z -n -o hostname.cpinfo
- Compress the
cpinfo
output file, and send it to Technical Support.
- Download the latest CPinfo utility here.
- Install the downloaded package, following instructions in the Installation shield.
- Reboot the machine.
- Download the latest CPinfo utility here.
Note:
If the download is impossible, then- Extract the
/solaris2/CPinfo/CPinfo.tgz
utility package from the CD. - Proceed to Step 2 e.
- Extract the
- Run the following commands from the directory where you put the downloaded file :
- Put the downloaded package to the some directory (e.g.,
/var/cpinfo_X.tgz
). - Find and uninstall the current package by running
pkgrm <package name>
Example:bash-2.05# pkginfo | grep Check
application CPfw1-R55W Check Point VPN-1/FireWall-1 NG with Application Intelligence (R55W)
application CPinfo-R55W Check Point CPinfo NG with Application Intelligence (R55W)
application CPrtm-R55W Check Point SmartView Monitor NG with Application Intelligence (R55W)
application CPshrd-R55W Check Point SVN Foundation NG with Application Intelligence (R55W)
Runpkgrm CPinfo-R55W
- Uncompress the downloaded cpinfo package:
gunzip cpinfo_X.tgz
- Untar the cpinfo:
tar -xvf cpinfo_X.tar
- Install the cpinfo package:
pkgadd -d /var/
or put the contents of theTAR
file to the/var/spool/pkg
directory and run thepkgadd
command. - The following output appears:
The following packages are available:
<Number> CPinfo-10 Check Point CPinfo- Enter the number that appears on the left of
CPinfo-10
: <Number> - Agree when asked about creating the </opt/CPinfo-RXX> directory
- Agree to continue with the installation of <CPinfo-RXX>.
- Quit when you get the message "Installation of <CPinfo-RXX> was successful."
Follow the instructions on the screen. - Enter the number that appears on the left of
- Verify that the cpinfo utility was installed by running the
pkginfo | grep Check
command.
Example:bash-2.05# pkginfo | grep Check
application CPfw1-R55W Check Point VPN-1/FireWall-1 NG with Application Intelligence (R55W)
application CPinfo-10 Check Point CPinfo
application CPrtm-R55W Check Point SmartView Monitor NG with Application Intelligence (R55W)
application CPshrd-R55W Check Point SVN Foundation NG with Application Intelligence (R55W) - Check the build number of the CPinfo utility by running the
cpvinfo /opt/CPinfo-10/bin/cpinfo
command.
Look for Build Number, it is supposed to be 9110000xx. - Log out and log in to the shell before running cpinfo.
- Put the downloaded package to the some directory (e.g.,
Useful commands:
Gets the version of CPinfo:
# cpinfo -v
Sends results to output file cpinfo.out (no address resolution - works faster):
# cpinfo -n -o cpinfo.out
Sends results to output file cpinfo.out and compresses the file with GZIP:
# cpinfo -z -o cpinfo.out.gz
Collects information on Provider-1 from the CMAs My_CMA and Your_CMA:
# cpinfo -c My_CMA -c Your_CMA -o cpinfo.out
Collects information on VSX from Virtual System number with VSID 5:
# cpinfo -x 5 -o cpinfo.out
Post a Comment