Last active
June 20, 2018 09:17
-
-
Save githubfoam/a44ecb188e50e388f1c00dc9b8ebf25c to your computer and use it in GitHub Desktop.
CheckpointGW R77.30 Graylog Syslog Integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Log in expert mode | |
| # echo $FWDIR | |
| /opt/CPsuite-R77/fw1 | |
| # ls -l /opt/CPsuite-R77/fw1/log/ | |
| #vi /etc/rc.d/init.d/cpboot | |
| fw log -f -t -n -l $FWDIR/fw1/log/fw.adtlog|logger -p local5.info -t CP_FireWALL & | |
| fw log -f -t -n -l $FWDIR/fw1/log/fw.log|logger -p local5.info -t CP_FireWALL & | |
| fw log -f -t -n -l $FWDIR/fw1/log/fwui.log|logger -p local5.info -t CP_FireWALL & | |
| reboot | |
| #vi /etc/syslog.conf | |
| severity level "info - 5" | |
| local5.info @IPGRAYLOGSERVER:1514 | |
| OR | |
| *.* @IPGRAYLOGSERVER | |
| /etc/init.d/syslog restart | |
| #Troubleshooting syslog traffic | |
| echo '<0>Testing graylog for connectivity IPFW CHECKPOINTGW' | nc -w 1 -u IPGRAYLOGSERVER 514 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment