Questions tagged [collectd]

collectd is a daemon which collects system and application performance statistics periodically and provides mechanisms to query and store the values in a variety of ways, for example using RRD files.

collectd is a powerful and flexible data monitor written in C. Its modular plugin based architecture makes it possible to extend its functionality using plain C, perl, python and ruby. The shipped plugins which cover a large set of different system and application monitors (https://collectd.org/wiki/index.php/Table_of_Plugins). The network plugin enables it to send and receive the monitored values over the network (unicast or multicast). The unixsock plugin exposes the cached data for programmatic or CLI querying. The rrdcached and rrdtool plugins can write the data to RRDTool files, and there are others which can populate different RDBMS's.

You therefore have the ability to query realtime and historical data on a distributed set of servers, which makes it a complete monitoring solution.

Moreover, its modularity is also maintained on the build level, which makes it as lightweight as needed (e.g. when building for an embedded platform).

228 questions
3
votes
1 answer

collectd-how to install write_riemann plugin

I'm new to collectd and Riemann. Im essentially trying to direct collectd logs to a riemann server instance. I understand that I need write_riemann plugin installed. I tried compiling the source files for write_riemann available online, but it…
Noob
  • 31
  • 2
3
votes
1 answer

Config file finding unexpected $end, not sure why

I am using a custom config of collectd and for some reason I keep getting a failure when I try and run the service. Originally I had everything in one big file, but to make changing configs easier I want to separate out the settings for various…
eignhpants
  • 1,611
  • 4
  • 26
  • 49
3
votes
2 answers

influxdb sum first value metric of different series but same time interval for grafana graph

I am using influxdb grafana and collectd and i want to display memory usage graph. The collectd give me this metrics value for memory and save it in influxdb influxdb/memory/memory-buffered influxdb/memory/memory-cached …
tomer
  • 231
  • 2
  • 4
  • 12
3
votes
1 answer

Unable to use write_http collectd plugin

I am running collectd 5.4.2.788.gf87af5a, I have also tried using 5.4.1. I am seeing the following in the logs: May 8 00:50:01 ip_172_1_1_1 collectd[19559]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed…
kporter
  • 2,684
  • 17
  • 26
3
votes
2 answers

monitoring docker container performance using cadvisor / cgroup, best approach

we are planning to use cadvisor for collecting cgroup data from docker host. we have set up using collectd and grafana to chart monitoring of other app metrics. anyone know plugins for cadvisor plugin for collectd ? as per my info collectd can not…
user2775185
  • 1,099
  • 3
  • 17
  • 30
3
votes
1 answer

Aggregating Collectd measures using Statsd

I am collecting system metrics using Collectd. I am collecting measures in small intervals to get accurate values. However i want to aggregate these values locally using Statsd. Statsd should aggregate the values and send them to librato in longer…
Martin Abraham
  • 752
  • 7
  • 24
3
votes
1 answer

collectd disk aggregation does not work?

The following aggregates all the CPUs in one specific host, creating cpu-all-sum/cpu-idle, cpu-all-sum/cpu-nice, etc. Plugin "cpu" Type "cpu" SetPlugin "cpu" SetPluginInstance "all-%{aggregation}" GroupBy "Host" …
Nitzan Shaked
  • 13,460
  • 5
  • 45
  • 54
3
votes
1 answer

collectd - how to install dbi plugin?

I've uncommented LoadPlugin dbi in collectd.conf, but now restarting collectd gives me: Stopping collectd: [ OK ] Starting collectd: Could not find plugin dbi. …
Fluffy
  • 27,504
  • 41
  • 151
  • 234
3
votes
1 answer

seek(0) on Linux /proc/sys/* pseudo-files?

Are there documented standards for the semantics of Linux /proc/sys file descriptors? Is it proper to use seek(0) on them? Here's a piece of code which seems to work fine for my tests: #!/usr/bin/python from time import sleep with…
Jim Dennis
  • 17,054
  • 13
  • 68
  • 116
3
votes
2 answers

Is there a way to send data to server through SSL in collectd with its network plugin or some other plugin?

My motive is to send all the stats recorded by collectd from client machine to the server through SSL encryption. Collectd has a network plugin which perform function of sending stats to the server for which we can set the configuration in…
Udit Bhatia
  • 525
  • 1
  • 5
  • 14
3
votes
2 answers

Linux CPU percentages don't add up to 100%

Whenever I try to add up the CPU utilization percentages from commands like top or mpstat and in particular the collectd service, I can't get to the exact 100% CPU utilization. For example top results from a test server on Amazon EC2: Cpu(s):…
Martijn
  • 3,696
  • 2
  • 38
  • 64
2
votes
1 answer

Search for full word

In the moment I'm working on a little project for my company. Where I have to change our Grafana to elastic-collectd data source. But now I'm facing the problem that I'm searching for the type_instance:port-channel42. I can search for…
VallingSki
  • 133
  • 4
2
votes
0 answers

How to get the exact used RAM percentage in Grafana?

AM using collectd to collect the metrics from the system, am using Influxdb as a database to collectd the metrics and Grafana for visualization. I need only the used RAM memory in percentage to display in grafana.... As of now i query grafana like…
2
votes
0 answers

I got me a grafana.net instance, but how do I push metrics to my account?

I have setup a free account at grafana.com, but cant seem to add metrics to my dashboard: On my server I have installed the latest CollectD(5.8.1), I have setup the write_graphite plugin like so: Host…
blade19899
  • 727
  • 1
  • 8
  • 32
2
votes
3 answers

How to aggregate/Sum multiple CPU cores to get one CPU metric in grafana?

Is there a way to aggregate across metrics/metric-names? For example, on a four core system, you have the following metric-names: cpu.0.system cpu.1.system cpu.2.system cpu.3.system I would like to SUM(cpu.*.system) to get the aggregated…
1
2
3
15 16