[collectd] Feedback: 4.2.0 - rpm, config, collection.cgi, usuability

Iain Lea iain at bricbrac.de
Thu Nov 1 14:10:14 CET 2007

We have been using a patched 3.10 collectd for a while and it works well.

There is now a requirement to graph some application data on our systems
so the perl and/or exec plugins look like they are whats needed so I
took a look at the 4.2.0 release. My feedback:

- fixed collectd.spec file to work with new plugins and collection.conf


- generated 4.2.0 rpms available here:

- edited collectd.conf file to have a reasonable set of default plugins.
It also has a problem in that the directory paths are non-standard i.e,
  #BaseDir     "/usr/var/lib/collectd"
  #PIDFile     "/usr/var/run/collectd.pid"
Should be:
  #BaseDir     "/var/lib/collectd"
  #PIDFile     "/var/run/collectd.pid"


- edited collection.conf file to have a reasonable default paths i.e,
  datadir: "/opt/collectd/var/lib/collectd/rrd/"
  libdir: "/opt/collectd/lib/collectd/"
Should be:
  datadir: "/var/lib/collectd/rrd/"
  libdir: "/usr/lib/collectd/"


- What does the extra "rrd" in path /var/lib/collectd/rrd/ bring?
Why not just keep it as /var/lib/collectd/ or some new funcionality

- The collection.cgi in v4 vs. v3 is built for listing many hosts whose
collectd data is located on a single host (or at least it seems that way).
Whats needed to bring it upto the easy to use (ie. 1 click) of v3 while
keeping the expanded v4 capabilities are the following minor addtions:

  1. if only stats for _1_ host available then display _all_ graphs for 
  it at once with say _hourly_ resoltion.

  2. have a 'select all checkbox' next to or under the plugin selector
  so its easy to display all stats for an host. Maybe also mention in 
  docs that one can use shift+left-mouse-click to select all as well.

  3. have some defaults in collection.conf file for better control ie.
  datadir: "/var/lib/collectd/rrd/"
  libdir: "/usr/lib/collectd/"
  pluginAllCheckbox [on|off]
  defaultDisplayPeriod [hourly|day|...]
  defaultDisplayFirstHost [on|off]

  4. seems as though displaying the load has an axis scaling problem.

URL: http://iainlea.dyndns.org/software/collectd/4.2.0/


More information about the collectd mailing list