Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1770726
  • 博文数量: 184
  • 博客积分: 10122
  • 博客等级: 上将
  • 技术积分: 5566
  • 用 户 组: 普通用户
  • 注册时间: 2005-12-08 12:32
文章存档

2011年(1)

2008年(183)

我的朋友

分类: LINUX

2008-03-03 21:39:25

3.13. Configuring syslog-ng servers

To configure syslog-ng on a server host, complete the following steps:

# 注释 :要配置 syslog-ng 服务器,按下面的步骤进行 :

#     -)1、安装 syslog-ng 在服务器主机上。

#     -)2、根据客户机和中继配置网络 source

#     -)3、建立一个 local destination ,用于存储日志

#     -)4、使用 log 把 local sources 和 local destination 连接起来。

#     -)5、建立一个 local source ,收集来自 syslog-ng 服务器本身的消息

#     -)6、使用 log 把 local source 和 local destination 连接起来。

#     -)7、设置过滤器和选项

Procedure 3.7. Configuring syslog-ng on server hosts

  1. Install the syslog-ng application on the host. See for details installing syslog-ng on specific operating systems.

  2. Configure the network sources that collect the log messages sent by the clients and relays.

  3. Create local destinations that will store the log messages, e.g., files or programs.

  4. Create a log statement connecting the network sources to the local destinations.

  5. Configure the local sources that collect the log messages of the syslog-ng server.

  6. Create a log statement connecting the local sources to the local destinations.

  7. Set filters and options (e.g., TLS encryption) as necessary.

阅读(837) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~