下面的代码聚合了一个特定主机中的所有CPU,创建了cpu-all-sum/cpu-idle、cpu-all-sum/cpu-nice等。
<Aggregation>
Plugin "cpu"
Type "cpu"
SetPlugin "cpu"
SetPluginInstance "all-%{aggregation}"
GroupBy "Host"
GroupBy "TypeInstance"
CalculateSum true
</Aggregation>但是,以下操作不起作用:
<Aggregation>
Plugin "disk"
PluginInstance "/xvd./"
Type "disk"
SetPlugin "disk"
SetPluginInstance "all-%{aggregation}"
GroupBy "Host"
GroupBy "TypeInstance"
CalculateSum true
</Aggregation>..。它应该聚合所有"xvd“磁盘上的IO操作。它不会创建任何文件,日志中也没有任何内容。
有什么线索吗?
发布于 2014-12-19 23:58:42
下面是在debug日志级别类似的情况下为我收集的日志:
aggregation plugin: The "disk_octets" type (data set) has more than one data source. This is currently not supported by this plugin. Sorry.我不太确定,但似乎聚合插件不支持具有多个值样本的插件- cpu只有一个值,而disk有两个值-读和写。
https://stackoverflow.com/questions/23917347
复制相似问题