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
2
votes
0 answers

collectd-web by remote access

enter image description hereI want to use collectd-web to monitor my system on minimal centos 6. ( I use ssh to remote to my machine) I've installed and configured collectd and collectd-web. when I enter my ip:8888 in my browser it just shows Menu…
fshs
  • 21
  • 2
2
votes
1 answer

How would I graph cpu usage in grafana using Prometheus and the collectd exporter?

New to promql and I'm trying to graph cpu usage over time and I've found the following example getting a static percent of usage but how would I convert it to a rate for grafana? 100 * (1 - sum(collectd_cpu_total{type="idle"}) by (exported_instance)…
Drew Pierce
  • 214
  • 1
  • 2
  • 7
2
votes
0 answers

RaspberryPi, collectd python plugin, rrd, CGP based occupancy logging/sensing (PIR & Sound)

I've got a PIR and a sound sensor working on my Pi ZeroW. I also have a python script that opens a listening socket and handles the 'sound' or 'motion' interrupts. For each sound/motion event it increments a value which can be read over the socket…
MikT
  • 21
  • 3
2
votes
0 answers

Collectd multiple write_http plugin with rule chain

I am trying to setup a collectd configuration that sends metrics to two separate http server endpoints. My setup has Client (C) with collectd plugin running on it. Of all the metrics it collects, all of the metrics need to be sent to Server (A);…
sujitv
  • 135
  • 1
  • 12
2
votes
1 answer

Export custom collectd PostgreSQL metrics to GCP Stackdriver Monitoring

Background I'm trying to export PostgreSQL replication delay by adding a custom statement to my PostgreSQL config (original config from Stackdriver PostgreSQL Plugin) in stackdriver-agents collectd…
joar
  • 15,077
  • 1
  • 29
  • 54
2
votes
1 answer

Can I pass host headers in the collectd write_http plugin?

Nothing in the documentation or manpages for the collectd plugin 'write_http' seems to provide any sort of mechanism for passing HTTP host header information. I am trying to pipe data out to an API that accepts a security token in the header and see…
2
votes
1 answer

collectd tail plugin ExcludeRegex Not Working

Step 1. LoadPlugin tail Regex "HTTP/1..\" 4" ExcludeRegex "HTTP/1..\" 404" ExcludeRegex "HTTP/1..\" 499" DSType "CounterInc" Type "counter" Instance…
dark
  • 51
  • 6
2
votes
3 answers

Collectd - How to get version installed

I have installed collectd using sudo apt-get install collectd. Is there any command to get the current installed version of Collectd? I tried collectd -v. Apparently it does not work. I do not see any option to get the version.
KitKarson
  • 5,211
  • 10
  • 51
  • 73
2
votes
1 answer

Collectd ping plugin showing ping_host_add failed

After installing the collectd ping plugin and starting collectd , the following is shown in the /var/log/messages Sep 29 22:35:36 localhost collectd[77162]: ping plugin: ping_host_add (1.2.3.5) failed: Operation not permitted Sep 29 22:35:36…
Ann
  • 303
  • 1
  • 3
  • 15
2
votes
0 answers

collectd + graphite Disk Writes Cumulative Instead Of Per Time Period

Most of the collectd stats (such as memory free/used, etc) for my hosts display in units per time period on graphite, producing jagged graphs as expected. However, when I examine metrics from the collectd disk plugin, I see an ever-rising slope of…
ezekiel68
  • 148
  • 7
2
votes
1 answer

Collectd cpu plugin Invalid value for type disk_io_time

I am using collectd cpu plugin and collecting the logs messages using logstash. I in logstash I see following error, anyone knows how to fix it? {:timestamp=>"2016-07-15T21:03:53.481000+0000", :message=>"Invalid value for type=\"disk_io_time\",…
2
votes
1 answer

What is memory -cache in memory plugin of collectd?

In the memory plugin of collectd , there are four attributes - Memory used Memory Free Memory buffer Memory cache What does each of them mean ?
2
votes
1 answer

How to convert process cpu usage in clock ticks to percentage?

I setup collectd on my Debian 6 virtual machine for monitoring and performance analysis. Collectd's processes plugin provides statistics about a process' cpu usage, though what units these statistics have is not documented anywhere. It's certainly…
akir94
  • 55
  • 1
  • 8
2
votes
1 answer

statsd architecture for a distributed system

I am studying to use the graphite - statsd - collectd stack to monitor a a distributed system. I have tested the components (graphite-web, carbon, whisper, statsd, collectd and grafana) in a local instance. However I'm confused about how I should…
Garet
  • 365
  • 2
  • 13
2
votes
0 answers

Seed graphite checks to cabot database

I have the list of metrics those will be coming from graphite. I want to seed checks for these graphite metrics in the Cabot database. So when I open the graphite UI first time, I should see my seeded graphite checks. For this which database tables…
Sandesh
  • 428
  • 9
  • 22
1 2
3
15 16