zfs_arc plugin: Fix the type used for mutex misses.

Thanks to Yves Mettier for pointing this out!
postgresql plugin: Fixed a memory leak occurring on every (successful) write.
Fix for nanosleep missing on Solaris

Signed-off-by: Florian Forster <octo@collectd.org>
Fix when gcrypt.h is missing (libcollectdclient)

Signed-off-by: Florian Forster <octo@collectd.org>
Merge remote-tracking branch 'github/collectd-5.2' into collectd-5.2
format_graphite: Implement the "separate instances" and "always append ds" options.

Fixes Github issue #214.
src/types.db: Remove the maximum value from "timeleft".
apcups plugin: Implement the "ReportSeconds" option.
Remove the redundant and little used STATIC_ARRAY_LEN() macro.
RedHat specfile: updated for 5.2.0

Also includes a couple of cleanups mentioned in github#186.
redhat/collectd.spec - typo.
RedHat RPM spec: package php-collection/collection3 independently
RedHat RPM spec: bump release number
Riemann UDP write plugin

First implementation of a riemann plugin.
This is basic for now and only support
sending to a UDP target, later work will
include notification support and service
rewriting.

Signed-off-by: Florian Forster <octo@collectd.org>
add support for notifications as well

Signed-off-by: Florian Forster <octo@collectd.org>
take into account PR comments from @octo

Signed-off-by: Florian Forster <octo@collectd.org>
riemann plugin: Improve the riemann_send() function.

Make the passed in "Msg*" const, use swrite() to make sure the entire
buffer is sent and break out the disconnect logic into an own function.
riemann plugin: Remove trailing white-space.
riemann plugin: Make all private funcitons and module-global variables "static".
riemann plugin: Move the creation of protobufs into their own function.

This also adds a couple more tags, e.g. "type:..." and so on. The "host"
field is now correctly populated from the vl->host or n->host field.