You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "intr" line gives counts of interrupts serviced since boot time, for each
of the possible system interrupts. The first column is the total of all
interrupts serviced including unnumbered architecture specific interrupts;
each subsequent column is the total for that particular numbered interrupt.
However, in the metrics check
output "#{config[:scheme]}.#{name}", info.last if other_metrics.include? name
This will return the last element of the array for each stat including intr. However, for intr the total is actually the first element. The last column is just the total for a given interrupt (which can actually vary between platform).
Using sensu-plugins-cpu-checks 1.0.0.
The text was updated successfully, but these errors were encountered:
I think there's an issue with the reporting of interrupts from metrics-cpu.rb.
As per https://www.kernel.org/doc/Documentation/filesystems/proc.txt (section 1.8):
The "intr" line gives counts of interrupts serviced since boot time, for each
of the possible system interrupts. The first column is the total of all
interrupts serviced including unnumbered architecture specific interrupts;
each subsequent column is the total for that particular numbered interrupt.
However, in the metrics check
output "#{config[:scheme]}.#{name}", info.last if other_metrics.include? name
This will return the last element of the array for each stat including intr. However, for intr the total is actually the first element. The last column is just the total for a given interrupt (which can actually vary between platform).
Using sensu-plugins-cpu-checks 1.0.0.
The text was updated successfully, but these errors were encountered: