On 2010-05-04 06:06, dartarrow-collectd wrote:
Hi,
> I'm trying out the python plugin but I get this error when i start collectd:
>
> [2010-05-04 04:03:58] Unhandled python exception in importing
> module: ImportError: /usr/lib/python2.5/lib-dynload/time.so:
> undefined symbol: PyExc_
On 2010-07-11 18:48, Krzysiek Szczuka wrote:
Hi..
> I want to make a python based module for pinging multiple devices and
> store it to db..
> I've compiled collectd-4.10.0 with python plugin.. I've wrote very basic
> 'write do /dev/null' module in python, and memory usage over time grows..
> W
On 15.03.2011 12:40, Mark Syms wrote:
Hi,
I've been trying to use the NetApp plugin to monitor a NetApp Fas2020
that I'm working with. Collectd is running on Debian, I've built a
modified package of version 4.10.1-1 using the NetApp SDK to allow
enabling the NetApp plugin. The NetApp is running
What version of collectd are you using?
And until we find the cause of this behavior you might try to pull the
constant parts of the submitted value out of the for loop. So,
v = collectd.Values()
v.plugin = 'mongostats'
v.type = 'counter'
could be put before the loop as it's just creating and
Never mind, I think I found the bug. I'll test it tomorrow. If you
compiled collectd yourself I'll send you a patch if you tell me the
exact version number you're using.
___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listi
As always in life the solution was not as simple as it appeared to be.
Oh well, I uploaded a patch to github, it should appear in the official
collectd repository soonish.
If you want to compile a it yourself from source, this patch should work
on the collectd-5.0 branch:
http://www.semidefinit
On 20.12.2012 12:59, Jevgenij Tsoi wrote:
Looking at documentation, there is an explicit warning that the python
plugins must be thread safe. Also,
several plugins written in python (one being collectd-carbon) explicitly
use a threading.Lock() to do some operations.
Looking at logs, for read-on
On 2013-05-08 09:25, kangqiang wrote:
hi guys, i am writing a python plugin, when i try to do this:
import collectd
it show me no module named collectd.
Did you load the Python module in collectd? If so, did it print anything
in the logs? If you can't find anything useful there, paste the Pyt
On 10.05.2013 09:23, kangqiang wrote:
it seems it's not about config. When I write python plugin, i first
need to import collectd. I tried to import it in ipython, it throws
exception.
anyway, my python collectd config as follows:
ModulePath "/opt/monitor/libvirt_memory.py"
On 2013-05-12 14:20, kangqiang wrote:
I'm really appreciate for your replying, it is helpful to me.
Yes, I tried to import it in interactive interpreter, the
backtrace just say "no module named collectd". I can import time, os,system
module, and can print it well.
hoping for your reply, thank y
On 20.05.2013 06:33, kangqiang wrote:
Sorry, but I think you didn't understand my question. For example, I
write a plugin use python as follows. I want to verify if my plugin
would work,
then I run it. It cann't run because collectd can't import, the module
is not exist.
I search in google, but e
On 13.02.2015 20:44, Finn, Dan wrote:
Here is the snipet from my collectd.conf file where I enable the plugin:
ModulePath "/etc/collectd.d/"
Do you have something like
Include "/etc/collectd.d/*"
in your collectd config? Because in that case collectd would try to
parse the python scr
On 13.02.2015 20:44, Finn, Dan wrote:
ModulePath "/etc/collectd.d/"
Oh wait, I'm guessing you don't actually have a main config file but
instead a config directory, which happens to be /etc/collectd.d/? Again,
in that case collectd will try to parse python code as a config file,
which
Are you using this plugin: https://github.com/sebest/collectd-mongodb
Looking at the code, it doesn't seems to be possible to monitor more
than one database. Which is strange, because it's implemented as an
object, so it would be trivial to create one instance per database, but
the config code
On 2018-11-13 12:25, Richard W.M. Jones wrote:
The problem with all of this is that all the different plugins that
expect different SIGCHLD behaviour are running in the same process and
you can only have one behaviour for all of them. I encountered that with
the Python plugin years ago, docume
15 matches
Mail list logo