[collectd-changes] collectd,
the system statistics collection daemon: Changes to 'master'
Florian Forster
octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Wed Feb 28 08:57:12 CET 2007
AUTHORS | 2
configure.in | 2
contrib/collection.cgi | 57 ++++++++++
contrib/fedora/collectd.spec | 1
src/Makefile.am | 8 +
src/collectd.conf.in | 8 +
src/collectd.conf.pod | 21 +++
src/collectd.pod | 8 +
src/irq.c | 238 +++++++++++++++++++++++++++++++++++++++++++
9 files changed, 343 insertions(+), 2 deletions(-)
New commits:
commit 0c1205256d8b5096045f5cfe54cae9937c8c7980
Merge: 8e33e9a8eeb7823ca409563a1f3b23716f4b5482 6517e56f02007d10a46a33916c1f94b3e88a159c
Author: Florian Forster <octo.trailing-username(a)leading-domain.leeloo.lan.home.verplant.org>
Date: Wed Feb 28 08:54:36 2007 +0100
Merge branch 'ph/irq'
commit 6517e56f02007d10a46a33916c1f94b3e88a159c
Author: Florian Forster <octo.trailing-username(a)leading-domain.leeloo.lan.home.verplant.org>
Date: Wed Feb 28 08:53:33 2007 +0100
irq plugin: Fixed some issues, renamed RRD-files.
I've looked into your plugin in more detail just now and fixed the
following issues:
- Moved the RRD-files into a subdirectory called `irq'. That's how it's
going to be done in the next major version.
- Renamed the DS to `value' and set the maximum value to 65535. I'm not
sure if this maximum value is big enough..?
- Don't use `LOG_EMERG' when config-problems are found. Rather, print to
`STDERR' since it's still available during configuration.
- Use `strsplit' when parsing `/proc/interrupts'. This makes much of the
pointer-arithmetic obsolete and the code much more readable.
- The device names are not used in the filename, though I'm not certain
if that's the way to go here.. On my workstation there is a line like
this:
193: 28492 IO-APIC-level uhci_hcd, uhci_hcd, uhci_hcd, ehci_hcd
Apparently the interrupt is shared among several USB-controllers. My
problem here is, that as soon as one device is deactivated or the
order changes, so does the filename. Besides, a filename along the
lines of `irq-193-uhci_hcd-ehci_hcd.rrd' would be nice.
On another machine I have this line:
217: 50173955 0 IO-APIC-level 3ware Storage Controller
Where one device somehow manages to write a _description_ in there.
This makes detection of such shared interrupts as above tricky.
If anyone has a good idea how to use the last part of the lines for a
filename, please let me know.
commit f21bcfdca1cf55f420ac31ea933a93277a4f0458
Author: Peter Holik <peter.trailing-username(a)leading-domain.holik.at>
Date: Tue Feb 27 09:51:59 2007 +0100
irq plugin: Added plugin to collect interrupt counters.
-- 8< --
Hi!
This plugin collects interrupts from /proc/interrupts
Usually all interrupts are collected but
you can configure what interruptnumbers are collected or not.
Example:
collect only wanted irqs:
<Plugin irq>
Irq 0
Irq 14
IgnoreSelected false
</Plugin>
collect all but no these irqs:
<Plugin irq>
Irq 7
Irq 8
Irq 9
IgnoreSelected true
</Plugin>
cu Peter
-- >8 --
More information about the collectd-changes
mailing list