[collectd] patch for email stats from postfix and amavisd-new, dns stats from powerdns

Alexander Wirt formorer at formorer.de
Tue Nov 20 10:09:14 CET 2007

Luke Heberling schrieb am Sonntag, den 18. November 2007:

> Hello collectd. Thanks for the use of your code. Hope you can make
> use of this patch.
> This patch adds mention of the new plugins to these files:
> configure.in
> debian/collectd.conf
> debian/control
> src/Makefile.am
> src/collectd.conf.in
> src/collectd.conf.pod
> src/types.db
> and the plugin files themselves:
> src/amafix.c
> src/pdns.c
> amavisd-new and postfix statistics are gathered by parsing the
> log file (i.e. /var/log/mail.log). Unfortunately there does not
> appear to be a better way of doing this.
Please don't do this. At least not for amavisd-new. Use amavisd-nanny or the
bdb stats databases. Alternativly you can also call the snmp agent by hand.

But do _not_ scan logfiles. The format is adaptable and will offen be
changed. and also scanning logs is pervert and something that should never be


More information about the collectd mailing list