没看明白你的问题,你是想问 如何编写方便维护的模块问题呢?还是想问如何方便集中分析日志的问题?
在 2012年2月7日 下午4:20, <[email protected]>写道: > 今日主题摘要 > > 网上论坛: http://groups.google.com/group/perlchina/topics > > - 关于日志处理的讨论 <#13556e5ebdd76dc7_group_thread_0> [6 条更新] > > 关于日志处理的讨论 <http://groups.google.com/group/perlchina/t/4531a2020475e96c> > > centerqi hu <[email protected]> Feb 07 02:19PM +0800 > > hi all > 现在有一个问题让我很被动,我现在有几十台机器, > 每台机器上面都布了一个日志扫描的perl模块, > 此模块专门去扫描别的模块产生的日志(根据不同的规则), > 把相应的信息发送给另一台服务器。 > > 这样就产生了一个比较麻烦的问题,每台机器上面的perl模块扫描规则不同, > 并且也很难维护这么多perl模块。 > > 有没有好的办法,只要一个perl模块,单独布到一台机器上面,就可以扫描所有的日志呢? > 这样容易维护 > > 不知道各位有什么好的办法? > > 谢谢 > > > > > azure wang <[email protected]> Feb 07 02:45PM +0800 > > 日志都写到一台机器上不行吗? > > 在 2012年2月7日 下午2:19,centerqi hu <[email protected]>写道: > > > -- > Azure.Wang > > > > > centerqi hu <[email protected]> Feb 07 02:56PM +0800 > > 不行,因位各个模块都布在不同的机器上。 > > 在 2012年2月7日 下午2:45,azure wang <[email protected]>写道: > > > > > > chenlin rao <[email protected]> Feb 07 03:09PM +0800 > > > > 看lz意思是想用ssh协议控制机器么?我觉得要不你就把各种规则写在一个模块里,然后rsync/puppet维护着一个模块。要不就用syslog或者mq之类的传递日志到“另一台服务器”。 > > 在 2012年2月7日 下午2:56,centerqi hu <[email protected]>写道: > > > > > > Achilles Xu <[email protected]> Feb 07 03:30PM +0800 > > 是想要一个模块能完成各种不同的扫描? > > 在 2012年2月7日 下午3:09,chenlin rao <[email protected]>写道: > > > -- > --------------------------- > Achilles Xu > > > > > 夏凯 <[email protected]> Feb 07 04:05PM +0800 > > 是不是比如这样:一台squid、一台nginx,然后在squid和nginx的日志格式不统一的情况下,你要扫描用户访问ip? > > > -- > contact me: > MSN: [email protected] > GTALK: [email protected] > > > > 您收到此邮件是因为您订阅了 Google 网上论坛 perlchina。 > 您可以通过电子邮件发帖 <[email protected]>。 > 要取消订阅此网上论坛,请发送 <[email protected]>一封空邮件。 > 有关更多选项,请访问 <http://groups.google.com/group/perlchina/topics>此网上论坛。 > > -- > 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 > 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 > 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。 > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
