Package: munin-node
Severity: normal

The irqstats plugin gives an error, because it doesn't handle blank
lines in /proc/interrupts. On my machine (a virtual server inside of
user-mode linux), /prc/interrupts contains the following:

           CPU0       
  0:   24241981       SIGVTALRM  timer
  2:          0           SIGIO  console
  3:          0           SIGIO  console-write
  4:    1148155           SIGIO  ubd
  5:     878279           SIGIO  eth0
  9:          0           SIGIO  mconsole
 11:          0           SIGIO  write sigio

ERR:          0

Note the blank line between 11 and ERR.

The plugin can be fixed by adding an "if ($irq) {" test before the line
"chop $irq;", with the if ending at the end of the while block.

Charles

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (90, 'testing'), (80, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1um
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to