From: Sebastian Harl Date: Fri, 29 Aug 2014 07:55:34 +0000 (+0200) Subject: collectd::unixsock: Support 'rrdcached' metrics as well. X-Git-Tag: sysdb-0.4.0~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f4f4bf4453fec8c84a90d1c0dfa16d0c6d0361fd;p=sysdb.git collectd::unixsock: Support 'rrdcached' metrics as well. It's the same as 'rrdtool' :-) --- diff --git a/src/plugins/backend/collectd/unixsock.c b/src/plugins/backend/collectd/unixsock.c index e7b6416..da77d72 100644 --- a/src/plugins/backend/collectd/unixsock.c +++ b/src/plugins/backend/collectd/unixsock.c @@ -407,7 +407,8 @@ sdb_collectd_config_instance(oconfig_item_t *ci) if (ud->ts_type) { /* TODO: add support for other backend types * -> will require different ID generation */ - if (strcasecmp(ud->ts_type, "rrdtool")) { + if (strcasecmp(ud->ts_type, "rrdtool") + && strcasecmp(ud->ts_type, "rrdcached")) { sdb_log(SDB_LOG_ERR, "collectd::unixsock backend: " "TimeseriesBackend '%s' is not supported - " "use 'rrdtool' instead.", ud->ts_type);