Quick bash script hack to take a bunch of log files and make tar/gz out of them.
You could add a SCP line in the loop and it would auto move them to the log backup server…
Category: Check Point
My notes while studying for and using my Check Point knowledge.
One issue that might show up with any type of server is filling up diskspace with log files. This bash script can be modified to SCP and remove any type of file, but this demo bash script is for Check Point Firewalls.
So… you want see what happened at 3am on the firewall but don’t have the money for orion, or other expensive monitoring software? Check out this bash script to monitor processes on your Check Point Firewall:
Enable IP Forwarding
By default, Checkpoint firewalls will not let pings pass through them. However, when you first setup a network, it’s useful to be able to test wide open through the firewall to verify routing and connectivity. Here is how to enable IP forwarding.
You’ve been given the task of working on a firewall – but unfortunately the old admin never took notes, there is no documentation, and the physical UTM-1 Appliance is in another country. So… what the heck is it? Here is how to find out what type of UTM-1 or Power-1 Appliance you have in the datacenter (or closet) from the command line:
Check Point SPLAT Commands
This is a list of several Check Point SPLAT commands that I use frequently. Perhaps this CLI tip sheet for Secure Platform is useful to you too:
Check Point VPN Debugging Guide
A few years ago I compiled a list of VPN debugs, error messages, and common gotchas. This information is relevant for Check Point NGX firewall, but is not a complete VPN Debugging Guide.
Check Point Firewall Radius Configuration notes:
CPX 2010 Las Vegas – Day 1
What is CPX (2010)?
In short, it’s the Check Point Experience. Several vendors sponsor it and describe their latest Check Point related technologies. They give demonstrations about their products and answer questions about product limits and features.
Server Monitoring With vmstat
You will learn the basics of vmstat server monitoring, scripting and redirection in this article.
- What is vmstat and why you would want to use it for server monitoring?
- How to use vmstat for server monitoring
- How to timestamp vmstat output (and other commands besides vmstat too)
- How to create a script that is easier to type than complicated commands
- How to run a shell script
- How to save data into a file
- Showing Memory Pages (useless info)
- Understanding vmstat
- Chart that explains the columns