On Tue, Jan 13, 2026 at 05:38:50PM +0000, [email protected] wrote: > > Hi all, > > TL;DR - here is a proposed replacement for the 'iostat_' munin plugin, > this replacement is called 'iostat'. > > Background: I tried to use the iostat_ script Olivier provided, but I > ran into some issues: it seems inconvenient the script doesn't just > automatically detect & graph all disks, I think I hit a bug trying to > get the script to work on a system with multiple disks, and I didn't > fully comprehend the script's comment about 'iostat_aggregated'. > > I rewrote the script in order to correctly use Munin's multigraph > functionality and I added automatic disk device detection. To use this > plugin, simply link or copy the below shell script into > /etc/munin/plugins/iostat and restart the munin_node process. > > Example: > https://nyc1.digitalocean.rpkiviews.org/munin/localhost/localhost/index.html#disk > If you click the 'Disk throughput per device' or 'Disk IOs per device' > graphs it'll bring you to another page where you'll separate graphs for > the individual disk devices. > > There is more work to be done here, for example, graphing device > utilisation as a percentage - however, this would require tracking > state, so such work might better be done as part of a future full > rewrite to perl. > > Kind regards, > > Job
Hello Job, I tested it on a machine with 2 disks and it worked well. Sure it is handy to have all disk stats on the same graph. We can definitively inlude it into net/munin port. BTW, I've never had issue with the current iostat_ script. But it requires to list the devices you want to monitor. Thanks, Best. -- Olivier Cherrier Phone: +352691570680 mailto:[email protected]
