[collectd] migrate v4 -> v5

Pavel V. pavel2000 at ngs.ru
Sat Mar 30 20:50:53 CET 2013


> I've migrate my collectd server to v5.1

> I used backport from 
> http://packages.debian.org/squeeze-backports/collectd-core

> Some bugs I've encountered :
> * Need to add "rrd_filter.px" to PATH
> * After the migration, "df/df-XXX.rrd" need to be deleted manually


I have updated to collectd-5.2 from collectd-4.10 (Debian-stable) this week, and encountered some
issues too:

* migrate-4-5.px does not split mysql_qcache and mysql_threads to new types
  I wrote a script for this, using RRD::Editor, but that split can be easily done with
  rrd_filter.px, I think.

* memcached plugin still uses df type, but v5upgrade targed converts received data to df_complex,
  which is wrong.

* collection3 config has some inconsistences for renamed DataSources. For example, type
  'apache_bytes' datasource named as 'value',  but color is still specified for 'count'.

  * New mysql types also needs to be configured to get nice-looking charts as it was before.
  I can post diffs to fixed version if this will be needed to anybody.

* While running migrate-4-5.px-generated script I got quite lot messages reporting about missing
  files, but my manual checks shows me no problems and I satisfied with results without deep analysis.
  However, this can be reproduced if needed as I have unconverted backups.


 Pavel                          mailto:pavel2000 at ngs.ru

More information about the collectd mailing list