[collectd] IRQ plugin does not work in 5.0.0

Bostjan Skufca bostjan at a2o.si
Thu Sep 1 22:12:23 CEST 2011


Hi,

as stated in the subject, IRQ plugin does not work, because of this:

-------------------------------------------------------------------------------------------
@@ -189,10 +235,10 @@
 			irq_value += v.derive;
 		} /* for (i) */

-		if (i < fields_num)
- 			continue;
-
		irq_submit (irq, irq_value);
 	}

-------------------------------------------------------------------------------------------

Fields num is ever greater than number of processors because it counts
non-numeric fields from /proc/interrupts which follow interrupt count,
on the right, too.

b.



More information about the collectd mailing list