Re: [collectd] More AIX stuff

2010-03-09 Thread Florian Forster
Hi Andrés, thanks for you patches :) On Tue, Feb 16, 2010 at 12:08:44PM +0100, Andrés J. Díaz wrote: Here are some minor patches to AIX port of collectd. The first one (aix-test-htonll) adds support to check if the htonl and htonll functions (which are used in AIX port) are available in

Re: [collectd] [PATCH] libiptc: avoid strict-aliasing warnings

2010-03-09 Thread Florian Forster
Hi Alan, hi Jan, On Tue, Feb 16, 2010 at 09:16:47PM +0100, Alan Pevec wrote: - int pos = *(int *)t-data; + const unsigned char *data = t-data; + int pos = *(const int *)data; I have to admit these changes look a bit like cast to different types until the

Re: [collectd] typo conntrack in src/types.db

2010-03-09 Thread Florian Forster
Hi Peter, On Fri, Feb 19, 2010 at 11:40:44AM +0100, Peter Holik wrote: src/types.db -conntrack entropy:GAUGE:0:4294967295 +conntrack conntrack:GAUGE:0:4294967295 oh, that's an annoying typo. Especially since this addition is newer than my goal to name all new data sources value. Thanks for

Re: [collectd] ipv6 support broken?

2010-03-09 Thread Florian Forster
Hi Jan, On Tue, Feb 23, 2010 at 07:32:39PM +0100, Jan Huijsmans wrote: When configured as ipv6 addresses, the module replaces the : in the addresses with spaces and lookups fail. it works for me with collectd 4.8 built from Git linked against liboping 1.3.4-1 from Debian Testing. [2010-03-09

Re: [collectd] [PATCH] Interface option for network plugin

2010-03-09 Thread Florian Forster
Hi Max, thanks for your patch :) On Fri, Feb 26, 2010 at 12:49:02PM +0100, Max Henkel wrote: +#if KERNEL_LINUX + struct ip_mreqn mreq; +#else + struct ip_mreq mreq; +#endif As far as I see, the only difference between the two structs is the imr_address, which you

Re: [collectd] huge values with tail plugin

2010-03-09 Thread Florian Forster
Hi, On Mon, Mar 01, 2010 at 05:30:20PM +0100, Manuel CISSE wrote: […] from time to time I have huge values (last was 229.1M for Local delivered) in the RRD database. Does anybody what could be causing this behaviour? this is most likely caused by a counter reset, i.e. the counter is reset

Re: [collectd] [PATCH] Interface option for network plugin

2010-03-09 Thread Sebastian Harl
Hi, On Tue, Mar 09, 2010 at 06:17:35PM +0100, Florian Forster wrote: On Fri, Feb 26, 2010 at 12:49:02PM +0100, Max Henkel wrote: + if (! IN_MULTICAST (ntohl (addr-sin_addr.s_addr))) + return (0); Doesn't it make sense to be able to set the interface in unicast

Re: [collectd] exec plugin stuck on mutex

2010-03-09 Thread Florian Forster
Hi Ryan, On Tue, Mar 02, 2010 at 08:27:27PM -0800, Ryan Tomayko wrote: collectd 4.8.1, http://collectd.org/ no applicable problem has been fixed in the Exec plugin in the meantime, so the problem should still exist in the master branch. Once I notice the plugin has stopped reporting, I

Re: [collectd] [PATCH] Interface option for network plugin

2010-03-09 Thread Max Henkel
Hi octo and list! On Tue, Mar 09, 2010 at 06:17:35PM +0100, Florian Forster wrote: [...] On Fri, Feb 26, 2010 at 12:49:02PM +0100, Max Henkel wrote: +#if KERNEL_LINUX + struct ip_mreqn mreq; +#else + struct ip_mreq mreq; +#endif As far as I see, the only

Re: [collectd] exec plugin stuck on mutex

2010-03-09 Thread Ryan Tomayko
On Tue, Mar 9, 2010 at 10:03 AM, Florian Forster o...@verplant.org wrote: Hi Ryan, On Tue, Mar 02, 2010 at 08:27:27PM -0800, Ryan Tomayko wrote:     collectd 4.8.1, http://collectd.org/ no applicable problem has been fixed in the Exec plugin in the meantime, so the problem should still

Re: [collectd] exec plugin stuck on mutex

2010-03-09 Thread Florian Forster
Hi again, On Tue, Mar 09, 2010 at 11:46:20AM -0800, Ryan Tomayko wrote: # lsof -p 25335 […] collectd 25335 root0r FIFO0,6 1285434092 pipe collectd 25335 root1w FIFO0,6 1285434093 pipe collectd 25335 root2w FIFO0,6 1285434094 pipe Not much

Re: [collectd] [PATCH] libiptc: avoid strict-aliasing warnings

2010-03-09 Thread Jan Engelhardt
On Tuesday 2010-03-09 21:39, Alan Pevec wrote: On Tue, Feb 16, 2010 at 09:16:47PM +0100, Alan Pevec wrote: -             int pos = *(int *)t-data; +             const unsigned char *data = t-data; +             int pos = *(const int *)data; I have to admit these changes look a bit like cast

Re: [collectd] Not seeing postgres data from collectd.

2010-03-09 Thread James Armstrong
Many thanks for you assistance. I come from a MySQL and Oracle background, and don't have much experience with postgres... So this is a bit of a learning experience for me. Sebastian Harl wrote: Hi, On Mon, Mar 08, 2010 at 01:04:19PM -0800, James Armstrong wrote: We're trying to add a

Re: [collectd] Curl output value threshold

2010-03-09 Thread Florian Forster
Hi Jeremy, On Mon, Mar 08, 2010 at 11:27:25AM -0600, Jeremy Hanna wrote: Match Regex Live Nodes/a.*?([0-9]+)tr DSType CounterSet Type counter Instance live-nodes /Match this

Re: [collectd] Not seeing postgres data from collectd.

2010-03-09 Thread Sebastian Harl
Hi James, On Tue, Mar 09, 2010 at 03:36:31PM -0800, James Armstrong wrote: Sebastian Harl wrote: On Tue, Mar 09, 2010 at 01:51:24PM -0800, James Armstrong wrote: Sebastian Harl wrote: One possibility, this query takes a while to return, over 30 seconds. Could it be timing out, and if so,