Syslog-ng working for ASA5510
原创
©著作权归作者所有:来自51CTO博客作者itseeker的原创作品,请联系作者获取转载授权,否则将追究法律责任
Syslog-ng working for ASA5510
https://blog.51cto.com/itseeker/458407
Syslog-ng working for ASA5510
https://blog.51cto.com/itseeker/458407
To setup a syslog server for archiving syslog of ASA5510, i think it will let us easy to check some incidents. On datacenter, there is a suse linux 10 for MRTGing whole network infrastructure . i plant to run a syslog service on the linux server. After checking the server. i found syslog-ng was running . so just modify the syslog-ng.conf.
syslog-ng.conf loactes in /etc/syslog-ng , i just added below content in the file:
#define the destination which will be syslogged.
source ASA5510 (
udp ();
} ;
#define a filter . for log level
filter f_asa ( facility (local7););
#define log options
destination asa5510 { file ("/var/log/ASA5510.log");};
log {source (ASA5510); filter (f_asa); destination (asa5510); };
Then , i need to enable syslog logging on ASA5510:
logging enable
logging trap informational
logging host inside 192.168.0.100 format emblem
Last, SYSLOG-NG service should be started :
/sbin/syslog-ng start
To confirm the configration works:
cat /var/log/ASA5510.log
If you will get content about firewall , congratulate, syslog-ng works.
举报文章
请选择举报类型
内容侵权
涉嫌营销
内容抄袭
违法信息
其他
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Nginx总结(六)nginx实现负载均衡
前面讲了如何配置Nginx虚拟主机,大家可以去这里看看nginx系列文
nginx tomcat 服务器 -
思科EVE-NG安装和使用过程中的一些解决方案
积累经验
eve-ng -
eve-ng的使用
eve-ng的安装,配置以及使用方法
EVE-NG的使用方法 eve linux -
全网唯一 EVE_NG 2.0.3-112 热插拔版(社区版)
eve-ng 社区版(热插拔)
eve-ng 社区版 热插拔