CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > SmartView Tracker/Logging And Alerting
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-09-06
Member
 
Join Date: 2006-08-22
Posts: 58
Rep Power: 3
mylove142 has an average reputation (10+)
Default cannot transfer log

Dear Sir,
I use two scripts to get log automatically, but now I don't know why MLM can't transfer log automatically as before. This is two scripts:

FW1_logswitch
#!/bin/sh

. /opt/CPshrd-R55/tmp/.CPprofile.sh

PROGRAM=/opt/CPfw1-R55

$PROGRAM/bin/fw logswitch `date -u '+'FW1_log_%Y-%m-%d'`
$PROGRAM/bin/fwm logexport -i `date -u '+'FW1_log_%Y-%m-%d.log'` -o `date -u '+'FW1_log_%Y-%m-%d.csv'`


FW1_logtransfer
#!/bin/sh
SERVER=10.10.10.10
USER=fw1
PW=khang

PROGRAM=/opt/CPfw1-R55

ncftpput -u $USER -p $PW $SERVER / $PROGRAM/log/`date -u '+FW1_log_%Y-%m-%d'`.csv

If you know the cause why log can’t transfer automatically, please tell me the cause. I use sh ./FW1_logtransfer but I can't run.
What I must do to MLM to get log automatically?
Thank you very much.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 18:21.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0