- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hi Everyone,
Recently due to multiple performance issues on the Checkpoint VSX, we have been trying to set up more monitors on Checkpoint platform and one of them is to record the history data of CPView.
As all of you may already know cpview history cannot be well supported on VSX platform, we are now testing a bash script to export the output of "cpview -p" to one file with timestamp appended and save to one specific folder. Pretty straightforward. We can manually run the script and get the result, however when scheduling the script to run every minute via crontab, we are getting below error:
CPView: Failed windows size ioctl with 22, Invalid argument
We then updated the script by using "when true;do...done" loop and use "nohup script.sh > /PATH/TO/LOG 2>&1 &" to run it at the background. No luck and we are getting the same error as above"
We then run the script directly with "&", and then use the disown command to clear the job. Got the same error.
We then run the script directly with "&", and then use the disown command with -h option on the job. This time it worked fine until we closed the putty client.
From the tests above it looks like "CPView -p" relies on terminal. Anyone had the same experience? And in this case how we can record the cpview history?
Thanks!
David
We've "deprecated" cpview -p per this thread. You should be able to get the required data via SNMP.
Hi PhoneBoy,
Thanks for sharing this. Didn't know that "cpview -p" has been deprecated.
Could u pls also recommend which SNMP monitor tool natively works well with Checkpoint VSX platform supporting polling on VSX gateway and multiple VS without too much customisation?
Thanks!
Regards,
David
Any SNMP platform should be good here. Do not forget to enable Check Point snmp daemon and to put snmp into vsx mode, as per documentation
Thanks will give it a try and let u know.
seems many people have had this issue over time, scripting cpview.
it appears to need a properly scoped tty to run happily. i have the following working, inside a script:
for x in yourlistofvsids; do
export gVSID="$x";
bash -i -c 'source /home/admin/.bash_profile; \
source /home/admin/.bashrc; \
source /etc/profile.d/vsenv.sh; \
vsenv $gVSID; \
/bin/./cpview_start.sh -p > $gVSID.log';
done
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 12 | |
| 10 | |
| 9 | |
| 8 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY