Stream

Join this community to post or comment
 
 
I took a little time to get my collectd gRPC (server) plugin into an imho minimally usable state. I'm still unsure whether this is idiomatic C++ but I don't totally hate it so I guess it's fine ;-)

#collectd #grpc #c++
This new plugin embeds a gRPC server (http://grpc.io) into collectd. For now, it supports dispatching and querying values.
2
Add a comment...

mwareh3

Diskussion  - 
 
Hello. I am joining a project using collectd. I would like to ask a few questions. Is this a suitable forum?
1
mwareh3's profile photo
7 comments
mwareh3
 
As reported by the disk plugin, do the disk_octets have a time associated with them. Is the number since the collectd's last read?
Add a comment...

Richard Fu

Diskussion  - 
 
Hello,can I change data type in types.db for existing data set? e.g. I want change data type from "COUNTER" to "GAUGE" in network traffic data set.
 if_octets  rx:COUNTER:0:4294967295, tx:COUNTER:0:4294967295
1
Florian “octo” Forster's profile photoRichard Fu's profile photo
2 comments
 
for example  "LoadPlugin network", how can I implement my requirements? 
Add a comment...
 
 
gRPC plugin for collectd

So, the inevitable has happened: I hacked a gRPC plugin for collectd, currently allowing to dispatch and query (list) values. I think it nicely demonstrates how things work and is easy to extend to support more features. Anyway, I'm sure there are a few things that could be cleaned up on the C++ side (I'm not a very good friend with that language). I'm hoping that someone else will pick it up from here ;-)

As a nice side-effect, the change introduces support for C++ and protocol buffers to collectd and the build system. Also, it provides a more complete example of an asynchronous gRPC server than the examples shipped along with the upstream project.

#grpc   #protobuf   #collectd   #hacking  
1
Add a comment...
 
+collectd determined as the #1 metrics collection tool in the 2015 Monitoring Survey. Yay! \o/
8
2
collectd's profile photoSebastian “tokkee” Harl's profile photo
Add a comment...

Benjamin Winks

Diskussion  - 
 
Anyone know how to do a log rotation for collectd? I'm running Ubuntu 14.04lts and collectd+rrdcached filled up nearly 400 gb. How can this be limited?
1
Greg Swift's profile photoBenjamin Winks's profile photo
11 comments
 
I really do appreciate your help Mr. Swift, thank you.
Add a comment...

Richard Fu

Diskussion  - 
 
How enable redis plugin in release 5.5.x?
I have tried credis and hiredis, but both of them not effective.

Thanks
1
Add a comment...
 
At long last, a new feature release is finally upon us. Guess I will be spending some time folding and mailing contributor t-shirts :)
 
We're proud to announce that collectd 5.5.0 has been released. This version comes packed with new features. Here's merely a short summary, for the full list see https://collectd.org/wiki/index.php/Version_5.5 – you can download the tarballs from https://collectd.org/download.shtml

New plugins allow collectd to read metrics form #Ceph and #DRBD (both distributed file systems), #OpenLDAP and Apache #Zookeeper . On the hardware side, there are new plugins for reading barometers, #SMART data from hard drives and C-states (idle states) from Intel CPUs. From the operating system we now get information on file handles and shared memory.

Integration with other systems has also been improved, there are new plugins to write collectd metrics to Apache #Kafka , a distributed message queue, #Sensu , a popular monitoring solution, and #OpenTSDB , a distributed timeseries database.

Of course, many existing plugins have been extended, too. For example, CPU usage can finally be reported as a percentage, rather than jiffies. This was one of our most-requested features.

Huge thanks to all of our contributors – you are awesome!
Version 5.5 has been released on Wednesday, May 27th 2015. This version is currently supported. Changes. Release 5.5.0. Changes since 5.4.0 up to 68923fc (NB: doesn't include bugfixes which are already in the release branches). Build system: Ability to make out-of-tree builds has been fixed.
3
3
Constanze Stohn's profile photoRena Forster's profile photo
Add a comment...
 
Writing #collectd exec plugins in #golang just became a lot easier – or at least more elegant. The packages provide a ValueList data structure and a exec.Dispatch() function, allowing you to write your code at high level. By using a simple callback API, you can cut down on the boilerplate even more and simply "return api.Gauge(42)".

This is still very much Work in Progress (code might move around, be renamed or removed; it's not go-gettable yet, …) but I'd value any feedback – at this early stage it's still easy to make fundamental changes.
go-collectd - Utilities for using collectd together with Golang.
2
1
Sebastian “tokkee” Harl's profile photo
Add a comment...
 
I've talked about +collectd at linux.conf.au 2015 ( #lca2015 ). Here's the recording of the talk in case you missed it :-)
3
Add a comment...

Created by

tim verwimp

Diskussion  - 
 
I'm using collectd to monitor the status of my server.
In my plugin LoadPlugin load, it sends out 3 values:
   .shortterm
   .midterm
   .longterm
Is it possible to filter out .shortterm and .longterm so it will only send out .midterm?

can anybody explain me how to do this?
1
tim verwimp's profile photo
 
This what I already have but this blocks the hole load plugin ofcourse. The only thing is how can specifically block the longterm and shortterm?

Are these types, or wat parameter should i use?

LoadPlugin match_regex
<Chain "PostCache">
 <Rule>
  <Match regex>
   Plugin "^load$"
   Type ".*"
  </Match>
  Target stop
 </Rule>

 # Default Target
 Target "write"
</Chain>
Add a comment...

Kui Yuan

Diskussion  - 
 
hello

I tried to monitor the the machine's traffic rate, ie, bytes per seconds, but I got accumulated bytes

```
time host instance type value
2015-12-09T07:40:44.711518Z "localhost" "eth0" "if_octets" 3143180744
2015-12-09T07:40:49.711476Z "localhost" "eth0" "if_octets" 3143182227
2015-12-09T07:40:54.711829Z "localhost" "eth0" "if_octets" 3143182856
2015-12-09T07:40:59.711906Z "localhost" "eth0" "if_octets" 3143183111
2015-12-09T07:41:04.712183Z "localhost" "eth0" "if_octets" 3143185899
2015-12-09T07:41:09.71305Z "localhost" "eth0" "if_octets" 3143188055
2015-12-09T07:41:14.711672Z "localhost" "eth0" "if_octets" 3143189590
```

which I expected something like this.

```
time host instance type value
2015-12-09T07:40:44.711518Z "localhost" "eth0" "if_octets_per_second" 80744
2015-12-09T07:40:49.711476Z "localhost" "eth0" "if_octets_per_second" 2227
2015-12-09T07:40:54.711829Z "localhost" "eth0" "if_octets_per_second" 3856
2015-12-09T07:40:59.711906Z "localhost" "eth0" "if_octets_per_second" 13111
2015-12-09T07:41:04.712183Z "localhost" "eth0" "if_octets_per_second" 8991
2015-12-09T07:41:09.71305Z "localhost" "eth0" "if_octets_per_second" 0551
2015-12-09T07:41:14.711672Z "localhost" "eth0" "if_octets_per_second" 2321
```



## here is my config

```
FQDNLookup true
BaseDir "/home/kui.yuan/collectd-5.5.0/var/lib/collectd"
PIDFile "/home/kui.yuan/collectd-5.5.0/var/run/collectd.pid"
PluginDir "/home/kui.yuan/collectd-5.5.0/lib/collectd"
TypesDB "/home/kui.yuan/collectd-5.5.0/share/collectd/types.db"

Interval 5

MaxReadInterval 86400
Timeout 2
ReadThreads 5
WriteThreads 5

LoadPlugin syslog
LoadPlugin logfile

<Plugin logfile>
LogLevel info
File "/tmp/collectd.log"
Timestamp true
PrintSeverity false
</Plugin>

LoadPlugin cpu
LoadPlugin interface
LoadPlugin load
LoadPlugin memory
LoadPlugin network

<Plugin cpu>
ReportByCpu false
ReportByState true
ValuesPercentage true
</Plugin>

<Plugin interface>
Interface "eth0"
IgnoreSelected false
</Plugin>

<Plugin network>
Server "localhost" "25826"
</Plugin>
```

## my version
collectd 5.5.0

## my os
CentOS release 6.7 (Final)

what wrong with it?

I didnot get the data as describe in the documentation - https://collectd.org/wiki/index.php/Plugin:Interface

> The Interface plugin collects information about the traffic (octets per second), packets per second and errors of interfaces
1
Kui Yuan's profile photo
2 comments
 
okey,this group is dead..
Add a comment...
 
Interested in getting involved with open source development but never knew where to start? There is a nice little starter project for +collectd and I'm happy to mentor whoever is willing to give it a try. :-)
#696 requests a native write_influxdb plugin and #1319 proposes such a plugin, but needs to be simplified before it can be merged. Since there clearly is interest in such a plugin, I'd like to desc...
1
Add a comment...
 
#golang   1.5 will allow calling Go code from C; time to start working on #collectd plugins in Go. Since this is very experimental code I'm eagerly awaiting any feedback you have :-)
3
Add a comment...
 
#collectd 1.0.0 was released 10 years ago today. Happy birthday!
9
3
Constanze Stohn's profile photoChristoph Thiel's profile photo
Add a comment...
 
 
This tutorial will focus on how you can enable the networking plugin for Collectd daemon in order to act as a central monitoring server for other Collectd clients installed on various servers over you network.

#linux  
This tutorial will focus on how to enable the networking plugin for Collectd daemon in order to act as a central monitoring server for other Collectd clients.
1
Add a comment...
 
 
This tutorial will discuss how you can install and run Collectd-web interface, which is a front-end web monitoring tool for Collectd daemon, in conjunction with Apache CGI interface in order to produce graphical html outputs in order to monitor Linux boxes. At the end of the article we will, also, present how you can protect Collectd-web interface using .hpasswd Apache Authentication mechanism.

#linux #collectd #monitoring  
This tutorial will show how to install and run Collectd-web interface, which is a front-end web monitoring tool for Collectd daemon, in conjunction with Apache
1
Add a comment...
 
Hi all, 
I was trying to build latest collectd rpm package for centos 6
is the build system actual now? after running build.sh is not generating any configure files. Also tried this in fedora 20. Can anyone suggest 5.4 rpm builds for centos 6 
1
Add a comment...
 
I've spend some time implementing the binary network protocol in the collectd Go API last week. The implementation provides support for both, client and server, and also implements the encryption / signing of metrics.

The different parts are designed so that they "fit together" well, making it very easy to write proxy servers and the like. Take a look at the examples for the "ListenAndDispatch()" function …

The project is currently still very much a work in progress – beware of stuff moving around. In this early stage, I'd especially welcome feedback since it's still easy to make changes.

#collectd #golang
Package network implements collectd's binary network protocol.
1
2
Sebastian “tokkee” Harl's profile photocollectd's profile photo
Add a comment...
 
Packing t-shirts for +collectd 5.4.2 and 5.3.2 contributors :-)

For details, see: https://collectd.org/wiki/index.php/Contribution_Appreciation_Program
7
Add a comment...