search for: collectd

Displaying 20 results from an estimated 132 matches for "collectd".

Did you mean: collected
2020 Feb 20
0
buffer overflow detected in collectd using libguestfs
We have extended collectd virt plugin to extract info about disk usage from a libvirt domain using libguestfs. We have had several issues with it which were raised here in 2018 by Peter Dimitrov. Currently the collectd plugin works fine and retrieves the required statistics. Current collectd configuration says that interval...
2009 May 28
2
[PATCH node] correctly use collectd udp dns entry
--- scripts/ovirt | 2 +- scripts/ovirt-config-collectd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ovirt b/scripts/ovirt index 8296783..4a7cbc7 100755 --- a/scripts/ovirt +++ b/scripts/ovirt @@ -43,7 +43,7 @@ start() { log "skipping ovirt-awake, oVirt identify service not available" fi -...
2009 Aug 12
0
[PATCH node] drop collectd startup reordering hack
collectd-virt reconnect is fixed in collectd-4.5.4-2.fc11 Signed-off-by: Alan Pevec <apevec at redhat.com> --- Makefile.am | 1 - ovirt-node.spec.in | 10 ---------- scripts/collectd | 1 - 3 files changed, 0 insertions(+), 12 deletions(-) delete mode 100644 scripts/collectd diff...
2010 Oct 26
0
[PATCH node] add collectd.py
--- scripts/collectd.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) create mode 100755 scripts/collectd.py diff --git a/scripts/collectd.py b/scripts/collectd.py new file mode 100755 index 0000000..729f3a9 --- /dev/null +++ b/scripts/collectd.py @@ -0,0 +1,40 @@...
2008 Nov 16
1
Opening the 2.4 commit fest (RRD)
...remainder, until the -pre stage, will be: >>> - the Powerman support (through the powerman driver) for more PDUs >>> - the possible RRD integration into upslog >> >> It would be nice to have native RRD support in upslog, but we may also >> want to point people to collectd - the NUT support in collectd is very >> easy to use, and collectd does a good job of monitoring other system >> statistics at the same time. > > I'm not very knowledgeable there! > is rrd's end collectd? if so, we can discard this patch and point collectd! > otherwi...
2018 Nov 09
4
collectd leaks SIGCHLD == SIG_IGN into plugins
Peter Dimitrov and myself were debugging a very peculiar bug when libguestfs is run as a plugin from collectd: https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023 The long story short is that collectd leaks SIGCHLD == SIG_IGN setting into plugins: https://www.redhat.com/archives/libguestfs/2018-November/msg00095.html This means that any plugin that does the usual pattern of:...
2008 Oct 06
1
Announce: collectd module -- managing a statistics collection daemon
Hi all! Thanks to funding from neoTactics, Inc.[1] I was able to implement a set of native type managing collectd''s config files wrapped into a handy module as a stepping stone towards a generalized monitoring resource. Collectd ======== Collectd is a very lightweight system statistics gathering daemon. To quote from http://collectd.org/ : > [...] it''s written in C for performance and...
2018 Nov 13
0
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
Hi Rich, On Fri, Nov 9, 2018 at 1:19 PM, Richard W.M. Jones <rjones@redhat.com> wrote: > Peter Dimitrov and myself were debugging a very peculiar bug when > libguestfs is run as a plugin from collectd: > > https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023 > > The long story short is that collectd leaks SIGCHLD == SIG_IGN setting > into plugins: > > https://www.redhat.com/archives/libguestfs/2018-November/msg00095.html > > This means that an...
2018 Nov 13
0
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
A quick glance shows that the exec plugin actually is clearing the signal mask: https://github.com/collectd/collectd/blob/master/src/exec.c#L526 Can you give some more context when this problem comes up? Ideally in a Github issue (hint, hint ;). -- Florian octo Forster Hacker in training GnuPG: 0x0C705A15 http://octo.it/
2018 Nov 13
2
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
Hi, thank you very much for reporting this! Sounds like a bug in the exec plugin – it never ceases to amaze me how many issues a single plugin can have ;) > > > This means that any plugin that does the usual pattern of: > > > > > > pid = fork (); Note that the exec plugin is the *only* plugin that does this. All other plugins are forbidden to fork(), popen() or
2018 Nov 13
4
Re: collectd leaks SIGCHLD == SIG_IGN into plugins
On Tue, Nov 13, 2018 at 10:04:33AM +0000, Daniel P. Berrangé wrote: > On Fri, Nov 09, 2018 at 12:19:30PM +0000, Richard W.M. Jones wrote: > > Peter Dimitrov and myself were debugging a very peculiar bug when > > libguestfs is run as a plugin from collectd: > > > > https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023 > > > > The long story short is that collectd leaks SIGCHLD == SIG_IGN setting > > into plugins: > > > > https://www.redhat.com/archives/libguestfs/2018-November/msg0...
2018 Nov 13
0
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
On Tue, Nov 13, 2018 at 03:17:33PM +0200, Peter Dimitrov wrote: > I was extending the virt plugin. > It already collects similar data (about VMs) using Libvirt's API, but lacks > disk usage information. > > I went through some hoops to link libguestfs correctly to collectd. > Is it okay to just include fork(), waitpid() example? It does reproduce the > issue. Yes, I think a small example/reproducer is a fine idea. Rich. > Best Regards, > Peter > > > On Tue, Nov 13, 2018 at 1:34 PM Richard W.M. Jones <rjones@redhat.com> > wrote: >...
2014 Oct 22
0
config file locations
...and it looks like both libgd2-xpm-dev and > libgd2-noxpm-dev are still available. (NUT does not explicitly need > the XPM support, so either one should work.) > > I will admit that we haven't done much with the NUT CGI stuff lately. A > few years ago, someone pointed me towards collectd, which logs > min/max/average values to RRD databases (among others), and I have > been using that to get hourly/daily/weekly/monthly summaries via CGI > scripts (/usr/share/doc/collectd-core/examples/collection3). NUT > monitoring seems to be available in the collectd version that is i...
2018 Nov 13
2
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
I was extending the virt plugin. It already collects similar data (about VMs) using Libvirt's API, but lacks disk usage information. I went through some hoops to link libguestfs correctly to collectd. Is it okay to just include fork(), waitpid() example? It does reproduce the issue. Best Regards, Peter On Tue, Nov 13, 2018 at 1:34 PM Richard W.M. Jones <rjones@redhat.com> wrote: > On Tue, Nov 13, 2018 at 12:00:19PM +0100, Florian Forster wrote: > > Hi, > > > > tha...
2014 Oct 22
4
config file locations
...s the build dependencies, and it looks like both libgd2-xpm-dev and libgd2-noxpm-dev are still available. (NUT does not explicitly need the XPM support, so either one should work.) I will admit that we haven't done much with the NUT CGI stuff lately. A few years ago, someone pointed me towards collectd, which logs min/max/average values to RRD databases (among others), and I have been using that to get hourly/daily/weekly/monthly summaries via CGI scripts (/usr/share/doc/collectd-core/examples/collection3). NUT monitoring seems to be available in the collectd version that is in 10.04. Something t...
2018 Nov 13
0
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
On Tue, Nov 13, 2018 at 12:00:19PM +0100, Florian Forster wrote: > Hi, > > thank you very much for reporting this! Sounds like a bug in the exec plugin – > it never ceases to amaze me how many issues a single plugin can have ;) > > > > > This means that any plugin that does the usual pattern of: > > > > > > > > pid = fork (); > > Note
2013 Oct 20
0
Release 1.0.0 of puppet-module-collectd
Hi Everyone, I''ve just cut the 1.0.0 release of puppet-module-collectd. You can download it from the Puppet Forge, http://forge.puppetlabs.com/pdxcat/collectd or via the Puppet module tool with `puppet module install pdxcat/collectd` or from our Github. Thanks to everyone who has contributed to help make this module a success [1]. The module now supports 5 osfamilies...
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
> That makes no sense because we are supposed to have just forked successfully I just realized libguestfs uses fork. Now we know why qemu-img worked - I launched it with popen. > So it must be something to do with collectd and how it runs programs. > Is it using LD_PRELOAD trickery, or replacing libc, or using seccomp? If I understand the question correctly - it's about how collectd loads its plugins? If so it uses: static int plugin_load_file(const char *file, _Bool global) { void (*reg_handle)(void); i...
2009 Sep 07
1
[PATCH node] Fix SRV_SERVER for SRV_HOST to work with /etc/init.d/ovirt-functions
From: root <root at linagora-ovirt.netaktiv.com> --- scripts/ovirt-config-collectd | 6 +++--- scripts/ovirt-config-logging | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/ovirt-config-collectd b/scripts/ovirt-config-collectd index 4ad877e..1474bf5 100755 --- a/scripts/ovirt-config-collectd +++ b/scripts/ovirt-config-collectd @@ -98,9 +98...
2018 Nov 13
0
Re: collectd leaks SIGCHLD == SIG_IGN into plugins
On Fri, Nov 09, 2018 at 12:19:30PM +0000, Richard W.M. Jones wrote: > Peter Dimitrov and myself were debugging a very peculiar bug when > libguestfs is run as a plugin from collectd: > > https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023 > > The long story short is that collectd leaks SIGCHLD == SIG_IGN setting > into plugins: > > https://www.redhat.com/archives/libguestfs/2018-November/msg00095.html > > This means tha...