muninlite: fix irqstats plugin

The config() function of irqstats seems to contain a superfluous
semicolon, causing munin to choke on this plugin. This simple patch
fixes exactly that.

Source: patch "240-fix-irqstats" from OpenWrt
Author: Jorik Jonker
This commit is contained in:
Lars Kruse 2019-07-19 06:03:51 +02:00
parent b2366408f6
commit 56bf90a6f8

View file

@ -1,6 +1,6 @@
config_irqstats() { config_irqstats() {
echo "graph_title Individual interrupts echo "graph_title Individual interrupts
graph_args --base 1000 -l 0; graph_args --base 1000 -l 0
graph_vlabel interrupts / \${graph_period} graph_vlabel interrupts / \${graph_period}
graph_category system" graph_category system"
CPUS=$(grep 'CPU[0-9]' /proc/interrupts | wc -w) CPUS=$(grep 'CPU[0-9]' /proc/interrupts | wc -w)