[Bug 493982] [NEW] Munin-Node missing device files in iostat

Dave Bevan dave.bevan at bbc.co.uk
Tue Dec 8 10:11:26 GMT 2009


Public bug reported:

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.

** Affects: munin (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Munin-Node missing device files in iostat
https://bugs.launchpad.net/bugs/493982
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in ubuntu.



More information about the Ubuntu-server-bugs mailing list