[collectd] [PATCH] works for me for 5.0 on RHEL 5 x86_64. I removed references to static libraries (.la) as these were not built on my system

2011-08-19 Thread Fabien Wernli
--- contrib/redhat/collectd.spec | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/contrib/redhat/collectd.spec b/contrib/redhat/collectd.spec index 4617f6c..5f31655 100644 --- a/contrib/redhat/collectd.spec +++ b/contrib/redhat/collectd.spec @@ -3,8 +3,8 @@

[collectd] [PATCH 2/2] Add config file for init script Separate mackages for rrdtool/rrdcached Run as non-privileged user

2011-09-06 Thread Fabien Wernli
Signed-off-by: Fabien Wernli --- contrib/redhat/collectd.conf |6 - contrib/redhat/collectd.spec | 41 ++-- contrib/redhat/init.d-collectd| 15 ++--- contrib/redhat/rrdcached.conf |9 contrib/redhat/rrdtool.conf

Re: [collectd] Solaris 10 core dump

2011-10-14 Thread Fabien Wernli
Hi, On Wed, Sep 21, 2011 at 04:50:02PM +0200, colle...@faxm0dem.org wrote: > I'm getting core dumps on Solaris 10 x86. [...] Some updates on this matter for your reading pleasure: - We now have core dumps on more servers, 79 (instead of initial 51) - We tried to build 5.0.0.34.g514a9fe with no c

Re: [collectd] perl -mCollectd --error--> Bareword "LOG_ERR" not allowed while "strict subs" in use at Collectd.pm line 164.

2011-11-28 Thread Fabien Wernli
Hi, On Tue, Oct 25, 2011 at 12:58:21PM -0700, Brian Shore wrote: > I don't see any response to this post (April 21, 2011). I'm getting > the same result under CentOS 5, perl 5.8.8, Collectd 5.0.1. I don't > see any changes in the git log for Collectd.pm that would seem > toeffect this in any pri

Re: [collectd] dynamic types for network plugin?

2011-12-02 Thread Fabien Wernli
Hi, On Thu, Dec 01, 2011 at 08:21:14AM -0800, Sage Weil wrote: > Resending this, since I haven't heard anything. This really seems like a > general problem with dynamically typed plugins mixed with the network > plugin. So I give it you're using plugin_register_data_set() in your plugin? ___

Re: [collectd] Sending collectd data over network

2012-02-27 Thread Fabien Wernli
Hi, On Sun, Feb 26, 2012 at 03:52:21PM -0500, ke quah wrote: > With the network plugin, it seems to ship all of the loaded plugins' data > on the compute nodes. How can I selectively send libvirt data and not data > from other plugins ? Yes, you cn achieve this by using the filter mechanism.

Re: [collectd] Collectd complex perl plugin question ...

2012-04-04 Thread Fabien Wernli
Hi, On Wed, Apr 04, 2012 at 10:58:07AM +0200, Sebastian Harl wrote: > However, you could simple skip a couple of intervals in the read > callback function. I.e., use a global variable (for each instance of the > callback) to count down the number of intervals to be skipped. Make sure > to return 0

Re: [collectd] Collectd complex perl plugin question ...

2012-04-04 Thread Fabien Wernli
Hi, On Wed, Apr 04, 2012 at 12:53:18PM +, Sebastien Cramatte wrote: > Thanks a lot for snippet. > I've still have an issue :( > > "Found a configuration for the "Mine" plugin, but the plugin isn't loaded > or didn't register a configuration callback." > > In my plugin source I've got this li

Re: [collectd] Modbus segfault

2012-05-15 Thread Fabien Wernli
Hi, On Fri, May 04, 2012 at 11:23:42AM +0200, colle...@faxm0dem.org wrote: > Attached patch solves this (to be applied agains stefan's fork). > Stefan: can you add it to your github, then issue a pull request? Attachement didn't make it. Here's the fork: https://github.com/faxm0dem/collectd/tree/

Re: [collectd] SNMP plugin GCC issues on Solaris 10; workaround

2012-05-30 Thread Fabien Wernli
Hi, Thanks Scott for the patches/workarounds. I'm curious though, as to why you need to use gcc. Cheers, ___ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd

Re: [collectd] I don't know the ASN type #130

2012-09-07 Thread Fabien Wernli
Hi, On Thu, Sep 06, 2012 at 12:00:13PM -0700, Mark wrote: > snmp plugin: I don't know the ASN type #130 (OID: We encounter the same problem when using the snmp plugin against GPFS' SNMP subsystem (http://www.ibm.com/developerworks/linux/library/l-snmp-gpfs/). ___

Re: [collectd] collectd 5.10 threading

2012-09-17 Thread Fabien Wernli
Hi, On Fri, Sep 14, 2012 at 05:37:08PM +0200, Cyril Feraudet wrote: > A friend of mine is currently writing a plugin to do aggregation of metric > directly in Collectd if this is the subject. You are aware of the following branch, aren't you? https://github.com/collectd/collectd/tree/ff/aggrega

Re: [collectd] Target Scale

2012-09-28 Thread Fabien Wernli
Hi, On Fri, Sep 28, 2012 at 04:54:08PM +0200, Poil wrote: > I've tried to use "target scale" with GenericJMX but I can't get it working. > > Is anyone have a full exemple of this ? (I've already check > http://collectd.org/documentation/manpages/collectd.conf.5.shtml#available_targets) Please p

Re: [collectd] New aggregator plugin "basic_aggregator" (#136)

2012-10-12 Thread Fabien Wernli
Hi, Adding a configuration reload is an excellent idea, and is one of the big missing features of collectd IMHO. I quite agree with Lindsay's remarks: there should simply be a warning for the plugins that don't support reconfiguration. On the other hand, maybe there should be the option to restart

Re: [collectd] New aggregator plugin "basic_aggregator" (#136)

2012-10-12 Thread Fabien Wernli
Hi, On Fri, Oct 12, 2012 at 02:46:00PM +0200, Yves Mettier wrote: > For the step 2/ I suggest a new command of collectdctl. That command > would allow to specify the plugin to reconfigure, or something like > "all" to reconfigure all the plugins. Does that sound correct ? Adding support for signa

Re: [collectd] New aggregator plugin "basic_aggregator" (#136)

2012-10-13 Thread Fabien Wernli
On Sat, Oct 13, 2012 at 09:27:25AM +0200, Sebastian Harl wrote: > most/many/all parts of collectd actually support "reconfigure" as people > might expect too much from SIGHUP else. agreed Just to be sure: the main collectd thread has no control over its child threads in the current implementation

Re: [collectd] Modbus plugin seems to read garbage values

2012-10-13 Thread Fabien Wernli
Hi, On Fri, Oct 12, 2012 at 05:30:32PM +0200, Gerry Demaret wrote: > I've been playing with the modbus plugin to read the values from a > Schneider Electric PowerLogic EGX100. I'm using Debian testing which > has collectd 5.1. Are you sure the device is sending correct values? We've got an EGX400

Re: [collectd] collected 4.10.1 stops writing and high CPU

2013-01-17 Thread Fabien Wernli
Hi, On Wed, Jan 16, 2013 at 11:03:00PM +1030, Jesse Reynolds wrote: > We are not using rrdcached. I was aware of it but not in any detail, thanks > for the recommendation. I can see that even just decoupling the RRD file > writes to a separate process has big benefits, eg just being able to rest

Re: [collectd] Plugins values

2013-02-08 Thread Fabien Wernli
Hi, On Thu, Feb 07, 2013 at 01:33:19PM +0100, Frédéric Pégé wrote: > The load values are returned in 3 different values under the same item. > load/load. Values are longterm, shortterm and midterm. And I'm ok with that. Just my two cents on loadavg: IMHO it's totally useless to keep anything else

Re: [collectd] Collectd timeinterval datarecording in RRDTool

2013-02-08 Thread Fabien Wernli
On Thu, Feb 07, 2013 at 02:58:30PM +0100, Frederic Daguenet wrote: > Can you show the calculation in simple steps? You want 4 timespans, so you need to enumerate them in the config, e.g.: # first 3 days RRATimespan 259200 # the next 7 days RRATimespan 604800 # the fol

Re: [collectd] Plugins values

2013-02-08 Thread Fabien Wernli
On Fri, Feb 08, 2013 at 11:56:08AM +0100, Frédéric Pégé wrote: > Can I help in any way possible ? > df, load, cpu, ... and other "standards" plugin are in C, right ? Yes, and the change is trivial. The decision to make incompatible changes isn't. ___ c

Re: [collectd] Collectd Nagios IP Socket

2013-02-15 Thread Fabien Wernli
Hi, On Thu, Feb 14, 2013 at 10:05:31PM +, Crowder, Travis wrote: > Is there a way for Collectd and Nagios to play together over an IP socket > instead of a Unix socket? There's always nrpe, if you want an even simpler solution ___ collectd mailin

Re: [collectd] Fwd: [5.1] Multiple mysql instances?

2013-03-18 Thread Fabien Wernli
Hi Jacek, On Mon, Mar 18, 2013 at 09:37:22AM +0100, Jacek Osiecki wrote: > LoadPlugin mysql > > > User "backup" > Password "" > Host "192.168.0.21" > Database "mysql" > #Socket "/var/lib/mysql/sc-sqlcrit/mysql.sock"

Re: [collectd] Collectd, snmp linux interface stats

2013-06-17 Thread Fabien Wernli
Hi, If I were you I'd use one of the latest collectd builds, which has a fix [1] which seems to address issues ppl are having especially on Cisco hw. Cheers [1] https://github.com/collectd/collectd/issues/131 On Sun, Jun 16, 2013 at 11:48:38PM +0800, Brendan Horan wrote: > Hi List, > > I am re

Re: [collectd] RRDs on SSD - performance degredation [resend without images]

2013-09-10 Thread Fabien Wernli
Hi, On Tue, Sep 10, 2013 at 03:44:31PM -0400, Thomas Harold wrote: > How do you deal with the options: > > RRARows 2 # PDPs = timespan / (stepsize * rrarows) > RRATimespan 32 # 3.7 days (16s) > RRATimespan 160 # 18.5 days (80s) > RRATimespan 800 # 92.6 days (400s) > RRATimespan 80

Re: [collectd] notify_email no longer working...

2013-10-14 Thread Fabien Wernli
Hi, You should use instead of There is a docbug which has been fixed https://github.com/collectd/collectd/pull/443 Cheers On Fri, Oct 11, 2013 at 11:02:59PM +0200, Dirk Geschke wrote: > Hi all, > > I have just noticed, that notify_email is no longer working. And > it seems that it happene

Re: [collectd] Patch for collecting global average CPU on linux boxes.

2013-11-18 Thread Fabien Wernli
Hi, I agree with the performance argument. However, I think it would be a good thing to allow for including the number of cores, e.g. having the possibility to return either average or sum (average*ncore). Cheers On Mon, Nov 18, 2013 at 09:30:02AM +0100, Toni Moreno wrote: > Hi Otis. > > I thin

Re: [collectd] Logging to files instead of RRD

2013-12-03 Thread Fabien Wernli
Hi, On Sat, Nov 30, 2013 at 09:52:24AM -0800, Igor Kryltsov wrote: > Basically idea is to be able to graph log events and system events in > the same flexible UI - Kibana. It's perfectly sane, and I know of some largish sites which decided to do just this. In addition to what Marc pointed out, bu