Hello, I've created and use for months a script for Windows Smartcenter R65 (Win2003) which provides by default the following: 1. It can be run manually or on schedule via the windows "at"/task scheduler. 2. Checks system date and searches for existing SmartCenter FW logs as many days back you need (default 6days back from the running date) in order to apply further processing. By default the script prefers that the SmartCenter is configured for daily log switching first. 3. Archives the matched logs to a filename based on script's running date (7-zip preferred). 4. Runs the upgrade export Checkpoint command and exports the SC configuration to a file with name based on script's running date. 5. FTPs the compressed logs to an FTP server (Filezilla FTP server preferred). 6. Removes the archived file and the original logs files from the SC directory IF the FTP task completes successfully (runs some processing status code checks). The removal tasks maintain the disk space on a specific percentage that way and also the SmartView tracker with only an certain amount of logs to view in the list (based on the selection). 7. Creates different processing logs to specific "EventLog" directory for task monitoring and troubleshooting reasons (Error or OK status logs). The above script is intended to apply complete maintenance tasks on a Smartcenter Server which includes both the Firewall logs (when SC is also Log server) and the SC configuration. However script changes are possible to change functions, always with precaution and testing first. If you need a script like that, please contact me <[email protected]>.
--- On Tue, 5/5/09, a bv <[email protected]> wrote: From: a bv <[email protected]> Subject: [FW-1] Daily log transfer of R65 on Windows 2003 To: [email protected] Date: Tuesday, May 5, 2009, 1:53 PM Hi, I have an R65 on Windows 2003 installed long time ago. Im in need of transfering the daily log files to an other ftp server. I tried to use a script for this purposes written by someone else , which is aiming to zip (zip exe is taken form oracle or something else) the files and then transfer them. This batch file is scheduled to work as a task at late night everyday ( also a weekly fw configuration file transfer script) . But this batch seems not to be successfull in some points. So i need an other script which only transfers (not zips) the daily log files to a ftp script which will work successfully both when run manually and scheduled. Regards Scanned by Check Point Total Security Gateway. ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [email protected] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [email protected] ================================================= Scanned by Check Point Total Security Gateway. ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [email protected] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [email protected] =================================================
