Menü Kapat

How to send Check Point Tracker Logs to External Syslog Server

Add following line at the end. Please note this is a single line command so add it appropriately.
If required just type it manually

Mgmt@expert#: fw log -f -t -n -l 2> /dev/null | awk 'NF' | sed '/^$/d' | logger -p local4.info -t CP_FireWall &

Permanently;

Mgmt@expert#: cp /etc/rc.d/init.d/cpboot /etc/rc.d/init.d/cpboot.ORG

Edit cpboot file;

Mgmt@expert#: vi /etc/rc.d/init.d/cpboot

Add following line at the end.

fw log -f -t -n -l 2> /dev/null | awk 'NF' | sed '/^$/d' | logger -p local4.info -t CP_FireWall &

Next,

add syslog log-remote-address x.x.x.x level info
save config

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir