[collectd] Nagios plugins

2013-02-20 Thread Frédéric Pégé
Hi, For those who're interested, I've developped a few plugins for Nagios/Centreon/Icinga/Shinken to check a few things from Collectd Load / Mem / Swap / NIC / Spase / Disk IO The advantage of that is to connect only to one server : the collectd central node. They are written in python using the

Re: [collectd] Nagios plugins

2013-02-20 Thread Cyril Feraudet
Le 2013-02-20 14:56, Frédéric Pégé a écrit : Hi, For those who're interested, I've developped a few plugins for Nagios/Centreon/Icinga/Shinken to check a few things from Collectd Load / Mem / Swap / NIC / Spase / Disk IO The advantage of that is to connect only to one server : the

Re: [collectd] Nagios plugins

2013-02-20 Thread Sebastian Harl
Hi, On Wed, Feb 20, 2013 at 02:56:30PM +0100, Frédéric Pégé wrote: For those who're interested, I've developped a few plugins for Nagios/Centreon/Icinga/Shinken to check a few things from Collectd Load / Mem / Swap / NIC / Spase / Disk IO The advantage of that is to connect only to one

Re: [collectd] Nagios plugins

2013-02-20 Thread Frédéric Pégé
Hi, I'm creating something in github. My approach was to : * add discovery features in collectd.py * add a formula feature in collectd.py. like the one mentionned in the 'output formatting of the page you've just sent. And given these 2 features, writting plugins is it very easy. Threshold are

Re: [collectd] Nagios plugins

2013-02-20 Thread Frédéric Pégé
https://github.com/h4wkmoon/collectd-nagios 2013/2/20 Frédéric Pégé frederic.p...@gmail.com Hi, I'm creating something in github. My approach was to : * add discovery features in collectd.py * add a formula feature in collectd.py. like the one mentionned in the 'output formatting of the

[collectd] randomly getting dl_open_worker assertion

2013-02-20 Thread Riches Jr, Robert M
(First-time poster, relatively new to collectd.) With collectd version 5.2.0 compiled from source on Ubuntu 12.04, attempts to use the exec plugin seem to randomly get an assertion failure from dl_open_worker. After boiling down the test case to pretty much the minimum, here's the collectd

[collectd] apparent copy-paste error in comment

2013-02-20 Thread Riches Jr, Robert M
In collectd 5.2.0's exec.c, it appears there is a copy-paste error in a comment: 482 /* Connect the `in' pipe to STDIN */ 483 if (fd_pipe_in[0] != STDIN_FILENO) 484 { 485dup2 (fd_pipe_in[0], STDIN_FILENO); 486close (fd_pipe_in[0]); 487 }

[collectd] backreferences in replace target

2013-02-20 Thread Kimo Rosenbaum
Hello, Is it possible to use backreferences in a replace target? ie: Target replace   Host foo-\(bar\).baz.com \1 /Target None of these seem to work, given a host of foo-bar.baz.com and I want bar.baz.com: Host ^[a-z0-9-]+-([a-z0-9]+) \1 - 1.baz.com Host ^[a-z0-9-]+-([a-z0-9]+) \\1 -