Re: [collectd] cpu stats on SMP machines

2009-10-01 Thread Florian Forster
Hi Doug, On Wed, Sep 30, 2009 at 05:32:18PM -0700, Doug MacEachern wrote: Same here: http://hudson.hyperic.com/job/collectd-master-amd64-freebsd-7.2/75/console Compiles with the attached patch, the tarball will be updated when the fix makes it into octo's master branch. yeah, I've seen that

Re: [collectd] hddtemp question

2009-10-01 Thread Florian Forster
Hi Israel, On Thu, Oct 01, 2009 at 01:42:17PM -0500, Israel Garcia wrote: I've installed collectd 4.7.2 on a debian server with hddtemp plugin. Everything seems to be fine but I see a flat line at 32 degrees celcius I dont like. I attached the image. Is this normal? what's wrong with that?

Re: [collectd] [rrd-developers] rrdcached + collectd issues

2009-10-14 Thread Florian Forster
Hi Thorsten, On Tue, Oct 13, 2009 at 03:52:15AM -0700, Thorsten von Eicken wrote: I just restarted everything afresh to get a clean set of data. It's already not looking pretty. Here's the set-up: - /usr/bin/rrdcached -w 3600 -z 3600 -f 7200 -t 2 -b /rrds -B -j /rrds/journal -p

Re: [collectd] collectd network protocol architecture dependent?

2009-10-21 Thread Florian Forster
Hi Josef, On Tue, Oct 20, 2009 at 05:41:23PM +0200, Josef Liška wrote: But, rrds generated directly on openwrt are not readable on x86_64, and converting using rrdtool dump to xml and then restore back is just not practical. yes, RRD-files are architecture dependent and unfortunately this

Re: [collectd] Plain text protocol question

2009-10-21 Thread Florian Forster
Hi Jean, On Thu, Oct 08, 2009 at 12:00:13PM +0200, Jean Baptiste FAVRE wrote: But the first step is to be able to get values. Therefore, I activated Unix Socket plugin and try to get data. yeah, currently you need to do polling for this. I'd much prefer if there was an elegant way to switch

Re: [collectd] Patch for collectd-nagios.c for tcp sockets

2009-10-21 Thread Florian Forster
Hi Andre, On Wed, Oct 14, 2009 at 04:50:50PM +0200, Andre Arnold wrote: Wouldn't it be useful if you can use an unix or a tcp socket? Or could it cause unexpected problems? if we change that, hordes of Nagios users will try to stone us because their monitoring installation lit up like a

Re: [collectd] patch for rrdcached plugin

2009-10-21 Thread Florian Forster
Hi Thorsten, thanks for your patch :) I was wondering if it was possible to move that configuration handling to src/utils_rrdcreate.c, too? This way we couldn't need the code duplication. The documentation could probably be consolidated in the same manner, by moving those options to a section

Re: [collectd] High CPU usage of collectd when server is under load

2009-10-28 Thread Florian Forster
Hi Mariusz, On Tue, Oct 27, 2009 at 01:19:42AM +0100, XANi wrote: I've installed collectd on server (amd64 debian stable) and when I have high load collectd can eat like 90-100% of one CPU (and its not iowait, disk is fine), what can be reason of that ? are you absolutely sure it's not I/O?

Re: [collectd] collection3 missing dependency Regexp/Common.pm

2009-12-13 Thread Florian Forster
Hi Stefan, On Sun, Dec 13, 2009 at 03:43:16PM +0100, Stefan Völkel wrote: I was more talking about the collection3/README file, since that lists some dependencies but not Regexp::Common. thanks for the hint, I've added it :) Regards, —octo -- Florian octo Forster Hacker in training GnuPG:

Re: [collectd] collectd for dreambox/mipsel

2009-12-17 Thread Florian Forster
Hi Michael, On Thu, Dec 17, 2009 at 07:11:41PM +0100, Michael Markstaller wrote: I tried to cross-compile collectd for my dreambox (DVB-receiver mipsel). hehe, sounds cool :) --- cut --- r...@dm8000:~# collectd -f --- cut --- runs, simply stays there, no errors, no nothing I assume no

Re: [collectd] libvirt and collectd (Part II)

2009-12-24 Thread Florian Forster
Hi Alan, On Thu, Dec 24, 2009 at 01:18:39AM +0100, Alan Pevec wrote: Also try virsh domifstat/blkstat, virt plugin is using the same API Don't know about Xen, but with KVM works fine. according to [0] the interresting *Stats functions are basically only supported by Xen. Is that table out of

Re: [collectd] curl_xml plugin

2010-01-11 Thread Florian Forster
Hi Amit, thank you very much for your patch :) I've applied the patch to my working directory and submitted it (and some changes of my own) to the “ag/curl_xml” branch of the Git repository. If you don't want to use Git you can download the latest version of src/curl_xml.c from [0]. I did the

Re: [collectd] restart collectd daemon stops receiving data from, clients

2010-01-12 Thread Florian Forster
Hi Amos, On Sat, Jan 09, 2010 at 08:46:17AM +1100, Amos Shapira wrote: No. We use a virtual IP which floats between the real servers. are you positive the traffic arrives at the right location then? Some network equipment (tries to do /) does weird state full stuff to UDP traffic.. Can you

Re: [collectd] Strange SNMP collection glitches

2010-01-13 Thread Florian Forster
On Wed, Jan 13, 2010 at 11:57:05AM +0100, Mirko Buffoni wrote: If that is the case, how could I solve this behavior which is going to cause the graphs to be unusable due to the oversized scale factor? One way is to replace the COUNTER data source with a DERIVE data source and set the minimum

Re: [collectd] Strange SNMP collection glitches

2010-01-13 Thread Florian Forster
Hi Mirko, On Wed, Jan 13, 2010 at 12:36:20PM +0100, Mirko Buffoni wrote: with a dump I see that the change has been done correctly. However the past daily/weekly/monthly graphs are unchanged and retain those autoscaled values. I wouldn't want to change collection.cgi, but I'd like to

Re: [collectd] Use Curl anyauth (digest+basic) instead of just digest in write_http plugin

2010-01-20 Thread Florian Forster
Hi Paul, On Sun, Jan 17, 2010 at 12:57:59PM -0700, Paul Sadauskas wrote: Subject pretty much says it all. 1-line patch/diff is here: http://github.com/absperf/collectd/commit/3d27b2b4da122ffee3951425b200d4d2c4a0a74c thanks for the patch :) I have cherry-picked the commit into the

Re: [collectd] [patch] swap plugin - swap in/out does not work for kernels 2.6

2010-01-20 Thread Florian Forster
Hi Lorin, On Tue, Jan 19, 2010 at 03:22:32PM -0800, Lorin Scraba wrote: It works on RedHat9 and 6 (don't ask). A more gracefull solution is having a configuration option for choosing /proc/foo format I suppose... Hope it helps some sysadmins like me that are forced to maintained anqituities

Re: [collectd] Different OS for server and client

2010-02-02 Thread Florian Forster
Hi Ann, On Tue, Feb 02, 2010 at 11:10:50AM -0800, Wallace, Ann wrote: Is it possible this is a byte order/endian issue? yes, that sounds a bit like an endian issue. We used to have an endian problem with double values which was fixed in 4.2.5 and 4.3.1 (and all later versions). Are *all*

Re: [collectd] kernel message SIGCHLD set to SIG_IGN

2010-02-02 Thread Florian Forster
Hi Mirko, On Fri, Jan 29, 2010 at 11:21:58PM +0100, Mirko Buffoni wrote: Jan 29 23:11:48 server kernel: application bug: collectd(7755) has SIGCHLD set to SIG_IGN but calls wait(). Jan 29 23:11:48 server kernel: (see the NOTES section of 'man 2 wait'). Workaround activated. What does it

Re: [collectd] [PATCH] Stabilise interface names in libvirt plugin

2010-02-02 Thread Florian Forster
Hi Gianni, thanks for your patch and sorry for the delayed reply. On Mon, Jan 25, 2010 at 12:47:59PM +, Gianni Tedesco wrote: Xen interface names default to the format vifXX.Y where XX is the domain ID and Y is the interface ID. The patch works by stripping the vifXX. from the interface

Re: [collectd] [PATCH] utils_format_json: serialize nan and inf as null, as per JSON spec

2010-02-04 Thread Florian Forster
Hi Chris, On Thu, Feb 04, 2010 at 12:52:30AM -0800, Chris Buben wrote: I'm deserializing JSON output from the write_http plugin using ruby-yajl. yajl was puking on the literal value nan encoded in the output. thanks for your patch :) I think it's kind of weird that JSON doesn't differentiate

Re: [collectd] [PATCH] utils_format_json: serialize nan and inf as null, as per JSON spec

2010-02-04 Thread Florian Forster
On Thu, Feb 04, 2010 at 02:50:36AM -0800, Chris Buben wrote: With your proposed approach, won't we still get invalid json on a platform where isinf doesn't get defined? In theory, yes. This doesn't matter in my particular experience (and never will, as on RHEL we'll always end up with isinf

Re: [collectd] Different OS for server and client

2010-02-04 Thread Florian Forster
Hi Ann, On Thu, Feb 04, 2010 at 08:11:06AM -0800, Wallace, Ann wrote: Do you, by any chance, still have the config.log file available? I do not but I can rebuild to get the config.log if that will help. Is there something in the log file I should be looking for? that'd be great. This log

Re: [collectd] Different OS for server and client

2010-02-04 Thread Florian Forster
On Thu, Feb 04, 2010 at 10:27:49AM -0800, Wallace, Ann wrote: checking if doubles are stored in x86 representation This string in is not in either of the config.log files. Either is the SPARC endianflip string. The only thing I could find along the same lines is checking for checking for

Re: [collectd] [PATCH 2/2] Fixes memory leak when writing to unixsocket fails

2010-02-10 Thread Florian Forster
Hi Peter, On Mon, Feb 08, 2010 at 07:53:52PM +0100, Peter Warasin wrote: print_to_socket() simply returns from current function always when it was not able to write to the socket. If this happens variables will not be freed. thank you very much for tracking down that memory leak. I'm not

Re: [collectd] [PATCH] Bugfix: correctly handle spurious wakeups in pthread_cond_timedwait

2010-02-10 Thread Florian Forster
Hi Michael, On Sat, Feb 06, 2010 at 04:22:16PM +0100, Michael Stapelberg wrote: The problem was that pthread_cond_timedwait was used to sleep for a specific amount of time. However, spurious wakeups may happen and thus pthread_cond_timedwait may return without the timeout having actually

Re: [collectd] Different OS for server and client

2010-02-10 Thread Florian Forster
Hi Ann, On Thu, Feb 04, 2010 at 03:30:14PM -0800, Wallace, Ann wrote: On 2/4/10 11:16 AM, Florian Forster o...@verplant.org wrote: Did you use the --with-fp-layout option when running configure? Specifying the floating point layout manually should be the only case in which that message

Re: [collectd] Different OS for server and client

2010-02-10 Thread Florian Forster
Hi Ann, On Thu, Feb 04, 2010 at 09:07:22PM -0800, Wallace, Ann wrote: if I compile Linux 64bit and Solaris SPARC 64 bit without it it works fine. I can get it to compile on 32bit Solaris SPARC with --with-fp-layout=nothing but it still is not recording values correctly for 64bit Linux.

Re: [collectd] java plugin class files

2010-02-10 Thread Florian Forster
Hi Amit, On Thu, Jan 28, 2010 at 02:03:53PM +0530, Amit Gupta wrote: Today, I downloaded collectd-4.9.0 source code. However, I couldn't see the jar patch applied as yet. Here is the updated patch with respect to 4.9.0 source code. sorry, I lost track :/ In general your patch looks fine,

Re: [collectd] curl_xml plugin

2010-02-10 Thread Florian Forster
Hi Amit, On Mon, Jan 18, 2010 at 04:48:21PM +0530, Amit Gupta wrote: I have added a sample configuration (Sun Java System Web Server 7.0) in the example page. thanks :) I would also want to add a detailed section about cURL-XML in the collectd.conf documentation page. How do you want me to

Re: [collectd] dns plugin patch

2010-02-10 Thread Florian Forster
Hi Amit, On Wed, Feb 10, 2010 at 05:13:22PM +0530, Amit Gupta wrote: I am trying to build collectd (4.8.1) on OpenSolaris but it fails to build due to the following error: There seems to be two issues: - s_addr member already exists in netinet/in.h on Solaris/OpenSolaris and thus changing

Re: [collectd] java plugin class files

2010-02-10 Thread Florian Forster
Hi Amit, On Wed, Feb 10, 2010 at 07:00:30PM +0530, Amit Gupta wrote: I am okay with these names as well. Do you want me to submit a updated patch? no, don't worry about that. It's easier to fix while applying the patch ;) Regards, —octo -- Florian octo Forster Hacker in training GnuPG:

Re: [collectd] java plugin class files

2010-02-10 Thread Florian Forster
Hi Amit, On Wed, Feb 10, 2010 at 02:35:44PM +0100, Florian Forster wrote: no, don't worry about that. It's easier to fix while applying the patch ;) I've applied your patch to the collectd-4.8 branch. I moved the creation of the .jar files to the build phase (instead of the install phase). You

Re: [collectd] [PATCH] Bugfix: correctly handle spurious wakeups in pthread_cond_timedwait

2010-02-25 Thread Florian Forster
Hi Michael, On Wed, Feb 10, 2010 at 03:42:11PM +0100, Michael Stapelberg wrote: C99 also includes stdbool.h, which defines bool as an alias for _Bool. I know, but iIrc we've had problems with stdbool.h in the past. Some - arguably broken - libraries define true and false themselves. So I prefer

Re: [collectd] [PATCH] Initialize libsensors with NULL as parameter

2010-02-25 Thread Florian Forster
Hi Michael, On Tue, Feb 09, 2010 at 05:30:16PM +0100, Michael Stapelberg wrote: The attached patch uses NULL for sensors_init. The downside of this is that the mechanism to reload the configuration file cannot be used any longer. I'm a bit concerned about backwards compatibility here:

Re: [collectd] write_http not working

2010-02-25 Thread Florian Forster
Hi, On Fri, Feb 12, 2010 at 11:19:36AM -0700, Paul Sadauskas wrote: I pinged octo on IRC, hopefully this will be fixed soon. just wanted to let you know that I merged 4.8 into 4.9 and master, so the patch should be included in all maintained branches now. Thanks again :) Regards, -octo --

Re: [collectd] Collectd compatibility issue

2010-02-25 Thread Florian Forster
Hi Ivaylo, On Fri, Feb 12, 2010 at 05:01:26PM -0800, Ivaylo Lenkov wrote: So my questions are: 1. is version 4.3.0 over-the-wire compatible with 4.6.3? Yes, all 4.* versions should be compatible to one another. In some occasions, the server (i.e. the machine *receiving*) must be *at least*

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] 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] 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] 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

[collectd] SSC Serv 2.0.0-beta0 is available.

2010-03-11 Thread Florian Forster
is intended to be an outpost of collectd in the Windows® world and isn't really useful without a collectd server instance. For more information on SSC Serv, please see its homepage at: http://ssc-serv.com/ Best regards, Florian Forster -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http

Re: [collectd] Changing and non-standard OIDs

2010-03-22 Thread Florian Forster
Hi Stian, On Tue, Mar 16, 2010 at 05:53:46PM +0100, Stian Øvrevåge wrote: SNMPv2-SMI::enterprises.9.9.273.1.3.1.1.1.1.4.83.83.73.68.0.35.118.39.212.62 = STRING: l SNMPv2-SMI::enterprises.9.9.273.1.3.1.1.1.1.5.83.83.73.68.50.0.35.118.39.212.62 = STRING: l

Re: [collectd] exec plugin stuck on mutex

2010-03-25 Thread Florian Forster
Hi Ryan, sorry for the late reply, I lost track :/ On Tue, Mar 09, 2010 at 12:24:20PM -0800, Ryan Tomayko wrote: such a weird child. Maybe the signal mask or UID/GID can tell me which step would be the next and might be the failing one. You got it: # cat /proc/25335/status […]

Re: [collectd] inconsistent documentation wrt Collectd::Plugin{,s}

2010-03-31 Thread Florian Forster
Hi Michael, On Sat, Mar 27, 2010 at 03:15:56PM +0200, Michael Shigorin wrote: seems like the source code of collectd-4.9.1 references Collectd::Plugins while collectd-perl(5) mentions Collectd::Plugin -- which results in [...] Could you please clarify what was intended and fix the

[collectd] Version 4.10.0 available

2010-05-01 Thread Florian Forster
Hello everybody, I'm pleased to announce the release of collectd 4.10.0, a new minor release of collectd. This version introduces several new features, including three new plugins for retrieving and parsing XML files, reading Modbus/TCP registers and receiving PHP profiling information.

Re: [collectd] [PATCH] configure.in: have_htonll should depend on linker check

2010-05-19 Thread Florian Forster
Hi Max, On Tue, May 04, 2010 at 10:17:53AM +0200, Max Henkel wrote: During cross-compiling I've observed, that commit 35602ac1 introduced an unresolvable (regarding cross-compiling) configure error. thanks for catching this :) I've applied the patch to the collectd-4.9 branch. Regards, —octo

Re: [collectd] Tail plugin missing events

2010-05-19 Thread Florian Forster
Hi Gregory, On Wed, May 05, 2010 at 01:56:56PM +0100, Gregory Giguashvili wrote: I'm seeing these low values when displaying the results using rrdtool graph. I've had some time to read through collectd code and rrdtool documentation and it looks like I need something like GaugeInc type which

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

2010-05-19 Thread Florian Forster
Hi, On Sat, May 08, 2010 at 04:56:50PM +0200, Flyinvap wrote: Is it possible to have oid included in message for this type log ? I can be useful to find quickly the wrong data. that's a good idea. I've added this to the collectd-4.9 branch [0]. Regards, —octo [0]

Re: [collectd] interval in network packets?

2010-05-19 Thread Florian Forster
Hi Thorsten, On Fri, May 07, 2010 at 11:26:09AM -0700, Thorsten von Eicken wrote: Stupid question: what is the interval in network packets used for? I would think that the only interval that matters in the end is the one defined in the RRDs. the interval is used to set the correct step

Re: [collectd] Bugfix for libcollectdclient lcc_putval.

2010-05-19 Thread Florian Forster
Hi Johan, On Wed, May 12, 2010 at 10:44:41AM +0200, Johan Van den Brande wrote: The wire format of the putval command is missing a space behind the closing double quote of the identifier. thanks for the pointer and the patch :) I've applied your patch to the collectd-4.9 branch. Regards,

Re: [collectd] Varnish plugin

2010-06-01 Thread Florian Forster
Hi Jérôme, thank you very much for your patch :) I have a couple of small suggestions / questios regarding the code, maybe you could help me out: * You forgot to add yourself as copyright holder at the beginning of the file. I guess you copied the apache plugin and modified it. Since

Re: [collectd] [PATCH] Add InterfaceFormat setting to libvirt plugin

2010-06-01 Thread Florian Forster
Hi Ruben, On Sun, May 30, 2010 at 02:57:18PM +0200, Ruben Kerkhof wrote: So let's introduce the InterfaceFormat setting When set to 'address' it uses the mac address of the interface instead of the path. thank you very much for your patch :) I've applied it to the master branch, so it will be

Re: [collectd] Solaris vmstat info available in any current plugins

2010-06-01 Thread Florian Forster
Hi Cleveland, On Thu, May 27, 2010 at 10:59:43AM -0400, Cleveland Mark-RGKW63 wrote: Do any of the current plugins available on Solaris provide similar information to what you can get from vmstat? In particular I am interested in process information w/ respect to number that are

Re: [collectd] trying to use rrdcached instead rrdtool plugin

2010-06-01 Thread Florian Forster
Hi Israel, On Thu, May 27, 2010 at 01:13:58PM +0200, Israel Garcia wrote: me again.. I've now collectd working with rrdcached.. BUT, (always there's a BUT), graphs delay almost 8 min to show... My collectd clients send info in 30 sec... any ideas? does the user running RRDtool have permission

Re: [collectd] Varnish plugin

2010-06-08 Thread Florian Forster
Hi Marc, On Tue, Jun 08, 2010 at 10:45:51AM +0200, Marc Fournier wrote: A few relevant pieces below: could you look for relevant information in config.log, the file created by the configure script? Something like grep -C 10 varnish config.log should do the trick I hope.

Re: [collectd] Varnish plugin

2010-06-08 Thread Florian Forster
On Tue, Jun 08, 2010 at 10:18:28PM +0200, Florian Forster wrote: Yeah, I just confirmed that by looking at the current Varnish SVN trunk. I just sent a patch to the varnish-dev mailing list [0]. I hope they pick it up soon. —octo [0] http://lists.varnish-cache.org/pipermail/varnish-dev/2010

Re: [collectd] Varnish plugin

2010-06-09 Thread Florian Forster
Hi Jérôme, On Wed, Jun 09, 2010 at 08:04:21AM +0200, Jerome Renard wrote: While reading this email once again I am wondering if I did the right thing here. What I did is to clone your repository and checkout the jr/varnish branch but I do not have enough rights to push changes I guess. I

Re: [collectd] collectd hostapd + mac80211

2010-06-12 Thread Florian Forster
Hi Michael, On Wed, Jun 09, 2010 at 09:22:05PM +0200, Michael Markstaller wrote: After searching a bit, I wondered wether there's already something to monitor wifi using hostapd (and mac80211) ? not that I'm aware of. The Wireless plugin reads from /proc/wireless and the MadWifi plugin works

Re: [collectd] Help With Plugin Exec

2010-06-12 Thread Florian Forster
Hi Ravi, On Wed, Jun 09, 2010 at 12:01:24PM -0700, Raviprakash Ramanujam wrote: I have a python script that needs to run under root privileges […] […] In order to run the script as root, […] Plugin exec Exec nobody:root /root/script.py /Plugin this configuration will run the

Re: [collectd] unixsock-like plugin extension

2010-06-12 Thread Florian Forster
Hi Shaun, On Fri, Jun 04, 2010 at 12:39:47PM -0700, Shaun Lindsay wrote: So, I wrote a plugin I'm calling aggregator to do handle this sort of use case. what you're describing sounds a lot like the Event infrastructure, an idea that has been floating around for a long time by nobody actually

Re: [collectd] Large instalaction - Collecting data from

2010-06-12 Thread Florian Forster
On Sat, Jun 12, 2010 at 11:10:33AM +0200, Florian Forster wrote: There is, however, a hard limit on the number of file descriptors libnetsnmp, the SNMP library used by the plugin, […] I may have been a bit quick to pass the blame, here. libnetsnmp uses select(2), which accepts up to FD_SETSIZE

Re: [collectd] [PATCH 3/3] Add custom message for threshold and missings.

2010-07-03 Thread Florian Forster
Hi Andres, On Sun, Jun 13, 2010 at 07:57:07PM +0200, Andres J. Diaz wrote: Add two new options in thresholds, the Message which can define a custom message for thresholds and MissingMessage, which define a custom message for missing interesting values related with that threshold. I finally

Re: [collectd] Sensors not showing

2010-07-14 Thread Florian Forster
Hi, On Tue, Jul 13, 2010 at 05:33:56PM +0100, Michelle Wright wrote: On the CGI web interface I got lots of things showing but not sensors even though it is enabled and the 'sensors' command works: how did you install collectd and libsensors? There are two versions of libsensors. collectd can

Re: [collectd] Bug#590656: collectd: apache traffic cut off at 1 GBit/sec

2010-07-28 Thread Florian Forster
Hi, On Wed, Jul 28, 2010 at 09:18:10AM +0200, Sebastian Harl wrote: The reason for setting max. values in the first place is to avoid huge peaks in case of a counter reset (e.g., after restarting some service). In the future (collectd 5), this will probably be handled by using the DERIVE data

Re: [collectd] Tail plugin missing events

2010-07-28 Thread Florian Forster
Hey Gregory, On Tue, Jul 27, 2010 at 09:40:08AM +, Gregory Giguashvili wrote: I found that the patch was not included in 4.10.1 release. Can you please let me know if this patch is going to make it to 4.10.x branch eventually? sorry, but I don't know which patch you're referring to. Was

Re: [collectd] size of rrd's

2010-08-04 Thread Florian Forster
Hi Patrick, On Mon, Jul 19, 2010 at 09:09:08AM +0200, Patrick Matula wrote: The rrd files have a fix size. But where is it? the size of the file depends on the parameters passed to RRDtool when creating the database file. The default RRD files created by collectd typically are about 150 kByte

Re: [collectd] FreeBSD interval?

2010-08-04 Thread Florian Forster
Hi Denis, On Tue, Jul 20, 2010 at 05:14:17PM +0400, Denis Melnikov wrote: 'nan' marks intervals when I changed Interval to 80. So 70 is default and the only available one, isn't it? the interval setting is also stored in the RRD files when they are created. Is it not changes however, if you

Re: [collectd] AIX: WPAR and cpu patchs.

2010-08-04 Thread Florian Forster
Hi Manuel, On Tue, Jul 20, 2010 at 08:18:12PM +0200, Manuel Luis Sanmartín Rozada wrote: The wpar patches are for a plugin to collect cpu, load and memory from Workload Partitioning in AIX. It was tested with system WPAR in aix 6.1. thank you very much for your patches :) I pulled them into

[collectd] SSC Serv 2.0.0 is available.

2010-08-26 Thread Florian Forster
and isn't really useful without a collectd server instance. For more information on SSC Serv, please see its homepage at: http://ssc-serv.com/ Best regards, Florian Forster -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/ signature.asc Description: Digital

Re: [collectd] mysql plugin display same data for different databases

2010-09-03 Thread Florian Forster
Hi Salimane, On Thu, Sep 02, 2010 at 05:54:43PM +0800, Salimane Adjao Moustapha wrote: even though i specified different databases , collection3 display the same data for all the databases. Database core Host 10.0.0.1 Database core_oma Host 10.0.0.1 Database core_uutiset Host

Re: [collectd] [PATCH] lpar plugin: new attempt

2010-09-03 Thread Florian Forster
Hi Aurélien, On Wed, Sep 01, 2010 at 10:28:38PM +0200, Aurélien Reynaud wrote: The patch is against the current 4.10 branch, rather than against ar/lpar, because it is more of a complete rewrite than just fixes. I could provide a patch against ar/lpar however if you prefer so. thanks for your

Re: [collectd] AIX: WPAR and cpu patchs.

2010-09-03 Thread Florian Forster
Hi Manuel, On Wed, Aug 25, 2010 at 04:07:31PM +0200, Manuel Luis Sanmartín Rozada wrote: cc1: warnings being treated as errors cpu.c: In function 'cpu_read': cpu.c:566: warning: unused variable 'temp' fixed that, thanks :) In the wpar plugin I change some strings, and the wpar cpu code.

Re: [collectd] [PATCH] collection3: fix multiple hosts selection issue

2010-09-04 Thread Florian Forster
Hi Jerome, On Wed, Sep 01, 2010 at 02:35:58PM -0400, Jerome Oufella wrote: This patch addresses this issue by modifying the name of the hash key in the group_files_by_plugin_instance function, making it less prone to name collisions by prefixing it by the host name. thanks for your fix :)

Re: [collectd] segfault in notify_email

2010-09-05 Thread Florian Forster
Hi Manuel, On Fri, Aug 27, 2010 at 09:28:17AM +0200, Manuel CISSE wrote: I'm using collectd 4.10.1 (Debian sid stock package) and I'm experiencing segfaults in notify_email quite a few times a day. I've added serialization code to the plugin which protects access to the library using a mutex.

Re: [collectd] segfault in notify_email

2010-09-06 Thread Florian Forster
Hey Manuel, On Mon, Sep 06, 2010 at 03:19:55PM +0200, Manuel CISSE wrote: I'm currently testing your patch since a few hours, for now it seems to work. I'll let you know if something happens but I think the problem is fixed. good to know, thanks for your feedback :) Please keep me informed if

Re: [collectd] segfault in notify_email

2010-09-06 Thread Florian Forster
Hi Manuel, On Mon, Sep 06, 2010 at 05:28:30PM +0200, Manuel CISSE wrote: Debian BTS (maybe I should have created an account to submit it to collectd BTS instead ?). no, no, the Debian bug tracker is perfectly fine. The collectd bug tracker never caught on, so it's basically a legacy now. It

Re: [collectd] [PATCH] New plugin - lpar

2010-09-07 Thread Florian Forster
Hi Aurélien, On Tue, Sep 07, 2010 at 11:50:09AM +0200, Aurélien Reynaud wrote: Many people expect the CPU usage to be in percent. You can easily calculate that in the front-end as What I am saying here is that we cannot just compute a ratio with the raw counters, we need to have the final

Re: [collectd] What is GaugeMax of tail plugin?

2010-09-09 Thread Florian Forster
Hi Denis, On Thu, Sep 09, 2010 at 07:52:07PM +0400, Denis Melnikov wrote: Now if I see for example 783.3 on my graph I believe I can see 200 resp=783.3 in the logfile. But I don't see it! Instead, I find 200 resp=1537.387. I believe this is due to the way RRDtool builds the Primary Data

Re: [collectd] What is GaugeMax of tail plugin?

2010-09-11 Thread Florian Forster
Good morning, On Fri, Sep 10, 2010 at 01:33:05PM +0400, Denis Melnikov wrote: Why collectd cannot update RRD for fixed points in time? imho the problem is that the CF is not taken into account at the PDP level. I imagine this is due to the root of RRDtool in MRTG: When you read interface

Re: [collectd] [PATCH] lpar plugin update

2010-09-11 Thread Florian Forster
Hi Aurélien, thanks for the update :) I've pushed the changes to the ar/lpar branch. On Thu, Sep 09, 2010 at 10:43:16PM +0200, Aurélien Reynaud wrote: - get back to the original implementation with gauges only. A new type vcpu is created (it was lpar_pcpu in the original) Yeah, makes a lot

Re: [collectd] New plugin - tempernet

2010-09-11 Thread Florian Forster
Hi Nicolas, On Tue, Aug 10, 2010 at 07:43:19PM +1000, Nicolas Guillaumin wrote: I just wrote a new plugin to collect temperature readings from a cheap TemperNET USB sensor ( http://www.pcsensor.com/index.php?_a=viewProdproductId=15 ). Please find attached the patch file + temper.c plugin

Re: [collectd] [PATCH] lpar plugin update

2010-09-11 Thread Florian Forster
Hey Aurélien, On Sat, Sep 11, 2010 at 03:00:28PM +0200, Aurélien Reynaud wrote: No problem, I've been throught this myself! Your will to thoroughly understand every part of the code is IMHO the main reason behind collectd's excellent quality. yeah, and now I'm craving for a POWER7-based

[collectd] Announcing “Collection 4” (C4 )

2010-09-13 Thread Florian Forster
Hi everybody, I've been working on a new front-end for collectd for some time and finally reached a state worth publishing. “Collection 4” (abbreviation “C4”) is intended to supersede Collection 3 eventually, but this doesn't mean that I won't accept patches for Collection 3 anymore, of course.

Re: [collectd] Problem in compiling ORACLE plugin

2010-09-27 Thread Florian Forster
Hi Carlo, On Sun, Sep 26, 2010 at 12:13:20PM +0200, ROMAGNOLI Carlo wrote: configure:20337: gcc -o conftest -g -O2 -I/home/xxx/instantclient/rdbms/public -L/home/xxx/instantclient/lib -lclntsh conftest.c -ldl 5 /usr/bin/ld: skipping incompatible /home/xxx/instantclient/lib/libclntsh.so

Re: [collectd] Illegal attemp to update ...

2010-09-29 Thread Florian Forster
Hi, On Tue, Sep 28, 2010 at 05:46:24PM +0700, Anh K. Huynh wrote: I see the following messages from collectd: illegal attempt to update using time 1285669914 when last update time is 1285669915 What's kind of problem? somehow a value with the timestamp 1285669914 is submitted to the

Re: [collectd] Using SNMP plugin with collectd

2010-09-29 Thread Florian Forster
Hi Kakoli, On Tue, Sep 28, 2010 at 10:03:26AM +, Sen, Kakoli wrote: I need to collect cpu/memory/disk usage of windows node. if you could use an evaluation version of SSC Serv [0], please let me know. The free edition is capable of collecting CPU and interface statistics, the full version

Re: [collectd] MySQL plugin reports wrong numbers on mysqld restart

2010-09-29 Thread Florian Forster
Hi Bostjan, Mariusz and everybody else ;) On Wed, Sep 29, 2010 at 02:47:08PM +0200, XANi wrote: Dnia 2010-09-29, śro o godzinie 03:09 +0200, Bostjan Skufca pisze: Maybe it's time to make a script for automated dump/change obviously invalid data to NaN/import of rrds. What's obvious to you

Re: [collectd] swap plugin improvements

2010-10-06 Thread Florian Forster
Hi Matthew and Aurélien, sorry for the very delayed reply. Fortunately I've kept track of this patch in the version 5.0 wiki page, otherwise I would have forgotten about it. On Tue, May 25, 2010 at 12:01:40PM +0200, Aurélien REYNAUD wrote: To be clear on the subject, the solaris swap command

Re: [collectd] Using SNMP plugin with collectd

2010-10-06 Thread Florian Forster
Hi Kakoli, On Sun, Oct 03, 2010 at 04:16:21PM +, Sen, Kakoli wrote: host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.15 host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.16 I have put the following block in Collectd.conf for capturing this data: Data

Re: [collectd] [PATCH] Plugin for Linux Software-RAID devices

2010-10-06 Thread Florian Forster
Hi Michael, thank you very much for your patch :) Especially thanks for including changes to the manpage and the build system! On Wed, Oct 06, 2010 at 12:26:24AM +0200, Michael Hanselmann wrote: It reports the number of component devices, number of devices in array, number of active, working,

Re: [collectd] [PATCH] lpar plugin: use pool_idle_time to account for cpu pool usage

2010-10-06 Thread Florian Forster
Hi Aurélien, I just added the changes you sent me to the LPAR plugin, i.e. pool busy time is now calculated from pool idle time and not the other way around. It'd be awesome if you could test my changes and tell me whether the plugin now works as expected or if further changes are required. I'll

Re: [collectd] collectd exec and perl

2010-10-28 Thread Florian Forster
Hi, On Thu, Oct 28, 2010 at 12:07:03PM +0200, Mariusz Gronczewski wrote: if u use interval you have to use actual time instead of N: (at least it didn't want to work otherwise for me) no, you should be able to mix interval= and N: as you wish. If it still dont work, turn off input buffering

Re: [collectd] collectd on solaris10 sparcv

2010-11-17 Thread Florian Forster
Hello anonymous user ;) On Wed, Nov 17, 2010 at 11:53:29AM -0500, dlsirr...@upsfreight.com wrote: SO_BINDTODEVICE will not work with Solaris. wondering if there's a workaround. You're right, that option is not available on Solaris. I'm assuming you have the problem within a Server / block. If

Re: [collectd] lua plugin

2010-11-23 Thread Florian Forster
Hi again, On Tue, Nov 23, 2010 at 09:33:23PM +0100, Schmurfy wrote: I'd go for a variant of the first option: Simply do a normal check for the library using autoconf and link with libtool. I will certainly need your help on this ;) no problem ;) While I still don't particularly *like*

  1   2   3   >