[collectd] Versions 5.0.3 and 4.10.6 available.

2012-02-19 Thread Florian Forster

Hello everybody,

I've packaged new patch releases of the current stable and old stable
versions of collectd. They fix a couple of bugs in collectd, plugins and
the documentation.


Download


The new version is available in source-code form from collectd's
download page. The direct download links are:

  Version 5.0.3:

  * http://collectd.org/files/collectd-5.0.3.tar.bz2
SHA-1: 9a111cf58ad1a202e77e9388fb39a2e71b47e9c5

  * http://collectd.org/files/collectd-5.0.3.tar.gz
SHA-1: 3af68f7dcc0de829ee41b2354da9655d96dda695

  Version 4.10.6:

  * http://collectd.org/files/collectd-4.10.6.tar.bz2
SHA-1: 19a87cc5ff73c263827c81ff61afe52c47957a42

  * http://collectd.org/files/collectd-4.10.6.tar.gz
SHA-1: ad78172d49f01c8ac14d64e73d8fb86ba52c9f9f


Thanks
--

Thanks to everybody who helped with this new version. In particular,
bugs have been reported and fixed by:

  * Gerrie Roos
  * Jonathan Nieder
  * Sebastian Harl
  * Sven Trenkel


ChangeLog
-
2012-02-19, Version 5.0.3 and 4.10.6
  * Build system: Fix problems when building the ipvs and iptables
plugins. Thanks to Sebastian Harl for his patch. A bashism in the
version-gen.sh script has been fixed. Thanks to Jo-Philipp Wich for
his patch.
  * csv and rrdtool plugins: Print a more helpful error message when the
DataDir is a symlink pointing to a non-existing location. Thanks to
Jonathan Nieder for his patch.
  * exec plugin: Fix a problem when using select(2) to read from file
handles. Thanks to Gerrie Roos for his patch.
  * network plugin: An incorrect error message in the handling of the
Interface configuration option has been fixed. Thanks to Gerrie
Roos for his patch.
  * oracle plugin: A potential endless loop in the error handling has
been fixed.
  * python plugin: A crash bug in the configuration handling has been
fixed. Thanks to Sven Trenkel for his patch.
  * interfaces plugin: The change which was supposed to ignore bogus
interfaces has been reverted, since it ignored legit interfaces, such
as bonding pseudo-devices as well.


Best regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/
-- 
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
Github:  https://github.com/collectd
Twitter: http://twitter.com/collectd


signature.asc
Description: Digital signature
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] New plugin for collectd : write_mysql

2012-02-19 Thread Florian Forster
Hi Cyril,

On Tue, Feb 14, 2012 at 11:54:01AM +0200, Cyril Feraudet wrote:
 Here the write_mysql output plugin patch (from 5.0.2) with
 modifications suggested by Octo. 

thank you very much for your patch!

I've created the cf/mysql branch [0], to track development of this
plugin. I intend to do the following changes in the next couple of
weeks:

  * Move settins into a struct and pass it to the write function as a
user data pointer. This way we can write to multiple databases at
once.
  * Provide scrap space (most likely a struct) and do the statement
binding _once_. I don't think that binding is an expensive
operation, but it's annoying to go through this over and over again.
  * Change the schema to have one data table and an identifier
table. Currently, the identifier is spread over the host,
plugin, type _and_ data tables, which is sub-optimal IMHO.

If you'd like to work on some of those things, you're very welcome! Just
please let me know so we don't duplicate work.

Best regards,
—octo

P.S.: I've split out the use mysql-config --lib_r part and put that
  into the collectd-4.10 branch. It's included in the 4.10.6
  release. Thanks for spotting this!

[0] https://github.com/octo/collectd/tree/cf/mysql
-- 
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
Github:  https://github.com/collectd
Twitter: http://twitter.com/collectd


signature.asc
Description: Digital signature
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] Github issues?

2012-02-19 Thread Florian Forster
Hey guys,

sorry for replying so late.

On Mon, Dec 12, 2011 at 11:55:30AM +0800, s b wrote:
 Anybody interested in doing this? Or is that just us?

I've enabled GitHub issues for the collectd/collectd project [0].
Please feel free to use those rather than Mantis. I will shut down
Mantis as soon as all (relevant) bugs are transferred.

 On Thu, Dec 8, 2011 at 11:52, Lindsay Holmwood lind...@holmwood.id.au wrote:
  Florian, if you want someone to do the legwork on this, I'd be happy
  to do the migration.

By all means :) It's a tedious task and I'm happy for all the help I can
get :)

Best regards,
—octo
-- 
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
Github:  https://github.com/collectd
Twitter: http://twitter.com/collectd


signature.asc
Description: Digital signature
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] collectd-5.0.1-mine.patch some processes.c fixes for FreeBSD

2012-02-19 Thread Phil Kulin
Bump! What about this bug? More than two releases...

2012/1/8 Phil Kulin sch...@gmail.com:
 I welcome from rainy Ingermanland!

 Our thoughts are now occupied by Putin and vodka, however...

 I have paid attention to a little incorrect data which is given out by
 a processes plugin on my beautifull FreeBSD system.
 I have corrected them and in process have made absolutely slightly
 have improved accuracy and productivity of a processes plugin for
 FreeBSD systems.

 - Fix strange plural call of getpagesize(). Has entered a global
 variable and initialization procedure for FreeBSD
 - Data was summarized on all processes including threads. It led to
 absolutely uncertain result. Fix based on codebase of FreeBSD top
 programm. KERN_PROC_ALL attribute keep for future purposes.
 - Gets command argument failed for some processes as system and some
 other. It led to error messages to console. Fix based on codebase of
 FreeBSD top programm.
 - System and user CPU times turned out from the sum of miliseconds
 and... Oh! microseconds in one glass with overflow possibility. Fixed.

 My girlfriend has left me for such Christmas vacation, but I am
 assured that have made good business.

 Patch in mail attachment.

 --
 Non nobis Domine non nobis sed Nomini Tuo da gloriam
 Phil Kulin



-- 
Non nobis Domine non nobis sed Nomini Tuo da gloriam
Phil Kulin

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


[collectd] iptables plugin won't even build in 5.0.3

2012-02-19 Thread Romain Riviere

Hi,

I already reported that 5.0.2 and earlier had trouble loading the 
iptables plugin on my Gentoo systems.
I just thought I'd give it a try with 5.0.3, and now the plugin won't 
even build :

checking for iptc_handle_t... no
checking for ip6tc_handle_t... no
checking for iptc_init in -liptc... no
(...)
libiptc . . . . . . . no
(...)
iptables  . . . . . . no (dependency error)

(also see comments there https://bugs.gentoo.org/show_bug.cgi?id=375733)

Regards
--
Romain

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] New plugin for collectd : write_mysql

2012-02-19 Thread Cyril Feraudet
On 19 févr. 2012, at 12:09, Florian Forster wrote:

 Hi Cyril,
 
 On Tue, Feb 14, 2012 at 11:54:01AM +0200, Cyril Feraudet wrote:
 Here the write_mysql output plugin patch (from 5.0.2) with
 modifications suggested by Octo. 
 
 thank you very much for your patch!
 
 I've created the cf/mysql branch [0], to track development of this
 plugin. I intend to do the following changes in the next couple of
 weeks:
 
  * Move settins into a struct and pass it to the write function as a
user data pointer. This way we can write to multiple databases at
once.
  * Provide scrap space (most likely a struct) and do the statement
binding _once_. I don't think that binding is an expensive
operation, but it's annoying to go through this over and over again.
  * Change the schema to have one data table and an identifier
table. Currently, the identifier is spread over the host,
plugin, type _and_ data tables, which is sub-optimal IMHO.
 
 If you'd like to work on some of those things, you're very welcome! Just
 please let me know so we don't duplicate work.
 
 Best regards,
 —octo
 
 P.S.: I've split out the use mysql-config --lib_r part and put that
  into the collectd-4.10 branch. It's included in the 4.10.6
  release. Thanks for spotting this!
 
 [0] https://github.com/octo/collectd/tree/cf/mysql
Hi Octo,

Thank you for having taken the time to read my patch.

As you can see, I'm not an expert in C. Your help makes me progress a lot.

I will look into DBI plugin to execute your first asking and to transform 
write_mysql to 
write_dbi.

Actually I work in part time to develop a frontend (soon published in GPL) to
Collectd. The rest of my time, I maintain a very large park of Unix server using
Collectd for watching performance and doing post mortem analyze. 
So, most of my work turn around Collectd. I think I will have a look to the 
roadmap, 
especially to the item: RRDTOOL plugin Type-Specific configuration.

Best Regards,

Cyril




___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] collectd-5.0.1-mine.patch some processes.c fixes for FreeBSD

2012-02-19 Thread Florian Forster
Hey Phil,

thank you very much for your patch :)

I've created a branch, pk/processes, which is available at
https://github.com/octo/collectd/tree/pk/processes. I've applied a few
coding style fixes. Can you please verify that I didn't accidentally
break anything?

Best regards,
—octo
-- 
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
Github:  https://github.com/collectd
Twitter: http://twitter.com/collectd


signature.asc
Description: Digital signature
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd