iomonitor
iomonitor copied to clipboard
Monitor IO of Proxmox Virtual Machines
Table of Contents
- Description
- Setup
- Usage - Configuration options and additional functionality
- Limitations
- Development
Description
This program allows system administrators to identify Virtual Machines that do much IO on the underlying storage.
Why? The storage in our Proxmox Cluster was slowing down / IOPS were maxed out and Proxmox does not allow to see IOPS per VM. With this program we were able to easily identify the abusing VMs and address the storage problems.
Setup
- Clone the Repository
-
apt install python3-pip python3-terminaltables python3-colorclass python3-hurry.filesize
- Alternatively you can run
pip3 install terminaltables hurry.filesize colorclass
-
pip3 install qmp
-
install -m 755 ./iomonitor /usr/local/bin/
Usage
The program is fairly simple. By default a refresh interval of 5 seconds will be used.
In case you want to adjust the interval:
iomonitor --interval=$SECONDS
Limitations
This version of IOmonitor was tested on Proxmox VE 7 however it may work with lower versions.
Currently known limitations.
- It's not possible to invoke any tasks that require the QMP Monitor like:
- Shutting down a VM
- Accessing the VNC Console
- Backup
- While IOmonitor is running, IO graphs will not be rendered in Proxmox (Read/Write)
Development
Pull Requests for bug fixes or new features are welcome :)