Munin-Node missing device files in iostat

Bug #493982 reported by Dave Bevan on 2009-12-08
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
munin (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: munin

lsb_release -rd = 8.04.2

munin-node:
  Installed: 1.2.5-2ubuntu3.1
  Candidate: 1.2.5-2ubuntu3.1
  Version table:
 *** 1.2.5-2ubuntu3.1 0
        500 http://10.129.149.115 hardy-updates/main Packages
        100 /var/lib/dpkg/status
     1.2.5-2ubuntu3 0
        500 http://10.129.149.115 hardy/main Packages

In an environment where multipathd fibre-channel devices are present, device files appear named dm-0, dm-1 etc.

The iostat module fails to pick these up from /proc/diskstats.

To FIX, amend /usr/share/munin/plugins/iostat, line 200:

 WAS: if (/^\s+(\d+)\s+\d+\s*\d*\s+([[:alpha:][:digit:]\/]+)\s+(.*)/)

 NEEDS TO BE: if (/^\s+(\d+)\s+\d+\s*\d*\s+([[:alpha:]-*[:digit:]\/]+)\s+(.*)/)

i.e. Add "-*" between [:alpha:] and [:digit:]

This fixes behaviour to include multipathd devices.

Dave Bevan (dave-bevan) wrote :

This bug is not confined to Ubuntu - we see it on Redhat and Oracle Enterprise Linux (RH clone), and probably all other multipathd enabled/capable environments using this default iostat plugin.

Thierry Carrez (ttx) on 2009-12-09
Changed in munin (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers