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

How to get CPU usage percentage measured by Collectd in InfluxDB

I'm collecting cpu usage measured in jiffies by Collectd 5.4.0 and then storing the results in InfluxDB 0.9.4. I use the following query to get cpu percentage from InfluxDB: SELECT MEAN(value) FROM cpu_value WHERE time >= '' and time <= '' GROUP BY…
hossein
  • 336
  • 3
  • 11
  • 23
7
votes
2 answers

Graphite + Collectd - How to plot memory used percentage for each host?

I have graphite+collectd setup to collect system related metrics. This question concerns with the memory plugin for collectd. My infra has this format for collecting memory usage data using…
Sabya
  • 11,534
  • 17
  • 67
  • 94
5
votes
1 answer

Get free disk space in percentage for multiple nodes using Grafana

I use Grafana (v2.1.3) for metrics visualization. Metrics comes from Graphite collected by collectd. The target graph is to display free disk space in percents for multiple nodes, e.g. lets say folder is /data, so metric which represents free space…
Vytautas Arminas
  • 387
  • 5
  • 16
5
votes
2 answers

How to multiply two series lists in Grafana / Graphite?

I have data in graphite in following format: app.service.method_*.m1_rate (rate of calls per minute) app.service.method_*.avg_time (avg response time per minute) I would like to get graph with total estimated time given method is running per…
wciesiel
  • 558
  • 5
  • 14
5
votes
3 answers

How to get Graphite to simply count counters, not time-rate them

I'm using Graphite and Collectd to monitor my server. In particular, I'm using the tail pluggin to count failed SSH logins. I'm using a counter for this metric, so expect to see 1, 2, 3, 0, etc... for data points. However, what I'm seeing is 0.1,…
Cameron Lee
  • 973
  • 9
  • 11
4
votes
1 answer

What is the fabric2 alternative for Fabric1 env.hosts and env.hosts_name

In my code I wish to have a list of hosts and send a different parameter to each host. Currently I find the index in the array and use that to determine the input index = env.hosts.index(env.host_name) Hosts and host_name is no longer used in…
RonanMacF
  • 309
  • 2
  • 9
4
votes
2 answers

What is difference between StatsD vs Riemann ? and which one performs better on large distributed system?

What is difference between StatsD vs Riemann ? and which one performs better on large scale distributed systems? we have a distributed platform built on Java and we want to monitor application metrics and perhaps some alerts. We understand that…
user1870400
  • 6,028
  • 13
  • 54
  • 115
4
votes
1 answer

Collectd and Nginx plugin not working

My collectd config looks like: LoadPlugin nginx ... URL "http://localhost:8080/nginx_status?auto" Nginx conf looks like: server { listen 8080; index index.html index.htm; server_name localhost; root …
sredni
  • 323
  • 2
  • 9
4
votes
2 answers

Where is the default collectd pluggindir?

Where does Collectd store its plugins by default? I am missing a perl plugin and I want to make sure its not because the installation was hosed.
Usman Ismail
  • 17,999
  • 14
  • 83
  • 165
3
votes
1 answer

Collectd in InfluxDB2.0

I want to deploy influxDB with collectd. For previous version ie 1.8 of influxDB it was supported. Do we have support for collectd in the latest version of influxdb i.e 2.0?
sayali_bhavsar
  • 141
  • 1
  • 2
  • 8
3
votes
3 answers

Why influxdb fails to start?

I installed the Influxdb version (InfluxDB v1.7.7) I just installed and i tried to start the infludb without changing anything in the configuration file... I used influxd to start the influxdb But i couldn't start...am getting the error as…
Shwettha RR
  • 151
  • 2
  • 5
  • 12
3
votes
1 answer

Expose JMX port in a docker Container running on ECS Cluster

I have a java application that is running inside a docker container. I have deployed this container in an ECS cluster. I want to expose a JMX port so I can collect JVM stats using CollectD agent installed on that machine. The JVM params that I have…
Rakshit Jain
  • 41
  • 1
  • 7
3
votes
0 answers

How does Collectd Tail plugin handle log file rotation?

I've installed Collectd on Nginx instances and I'm using it to count HTTP status codes. The current Collectd configuration looks like this: Hostname "localhost" FQDNLookup false BaseDir "/var/lib/collectd" PluginDir "/usr/lib/collectd" TypesDB…
Ayush Sharma
  • 265
  • 4
  • 13
3
votes
1 answer

Collectd - Perl/Python plugin - registration functions not working

I would like to ask about Collectd's plugins Perl and Python and their registration functions. I tried to code plugin in Perl (and also in Python), set up read and write functions and after that register them into Collectd (plugin_register…
Martin
  • 33
  • 5
3
votes
3 answers

collectd permission denied to connect to remote host

I have 4 machines. I have to monitor their different statistics. I have decided to use graphite/collectd for this purpose. OS on all machine is centos 7. I have configured graphite successfully and collectd on two machines also. But remaning two…
Hafiz Muhammad Shafiq
  • 8,168
  • 12
  • 63
  • 121
1
2 3
15 16