[collectd] Custom plugin for spam statistics
octo at verplant.org
Thu Mar 12 11:04:10 CET 2009
On Thu, Mar 12, 2009 at 09:49:03AM +0100, Mirko Buffoni wrote:
> I'd like to add a custom plugin to synthesyze my antispam statistics
> into collectd.
> I'm using a custom made qmail-based solution, with a set of rules and
> programs to intercept spam and viruses.
> All notices are sent to qmail multilog, which automatically rotates
> when log reaches a certain size.
> The number of rotated logs vary from day to day. At the end of the
> day, logs are combined into a big log on another machine, and parsed
> to gather statistics.
> This stage could be enough to obtain all the information needed, but
> I'm losing realtime. I can live with that, but just out of curiosity,
> I'd like to know if realtime can be obtained in some way.
> Do you think this is the only applicable solution, or is there any
> smarter way to parse logs in realtime to updated collectd rrd files?
> I thought of tail plugin as a possible way, but I'm not too confident
> with that plugin.
yes, the `tail' plugin would be the way to go here. Why do you feel
uncomfortable with that plugin?
Florian octo Forster
Hacker in training
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090312/1026c8b6/attachment.pgp
More information about the collectd