Cannot see graphs for IO Service time and IOstat in munin
For some reason data & graphs for IO Service time and IOstat do not show up in munin. All other graphs are fine. Can some one suggest me how to set munin to show the stats and graphs for these. Am I missing any packages?
I ran into the same problem (on an EC2 instance running Ubuntu Lucid Lynx) and figured out the solution via a comment at the top of the plugin code.
Basically the plugin by default skips all hard drives which have a number in them. To avoid this you need to add the following lines to the plugin config file (/etc/munin/plugin-conf.d/munin-node
for me - I needed to edit it as root):
[iostat]
env.SHOW_NUMBERED 1
Then restart munin:
sudo restart munin-node
Of course you also need to have made sure you have iostat available on your system (running iostat
at the commandline should tell you). If not then it's pretty easy to install (on Ubuntu):
sudo apt-get install sysstat
I ran into this problem as well. It is actually an issue with iostat not returning information about the state of the devices in the system. If you run iostat from the command line, you should see something like this:
# iostat config
Linux 2.6.18-194.11.4.el5 (hostname.tld) 08/10/2011
avg-cpu: %user %nice %system %iowait %steal %idle
0.06 0.04 0.05 0.05 0.00 99.81
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
I was able to get the devices to show up by restarting my system.
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda1 73.53 2532.05 142.72 255762 14416
sda2 0.29 8.08 0.00 816 0
You may need to install the sysstat package first.
On Ubuntu run sudo apt-get install sysstat
Then run iostat
to check that stats are available.