[Bug 47802] New: Monitor the VMs disk usage

WineHQ Bugzilla wine-bugs at winehq.org
Tue Sep 24 18:59:51 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47802

            Bug ID: 47802
           Summary: Monitor the VMs disk usage
           Product: Wine-Testbot
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

We have a Munin plugin that monitors various TestBot metrics like the VM revert
times. This can be pretty useful to diagnose issues.

However this does not monitor the VM's disk usage, i.e. the size of their qcow2
files. Yet for some VMs the disk usage can increase quite a bit with time.
Tests could also fill a VM's disk (accidentally or not), causing an increase in
the qcow2's file size.

Libvirt provides a way to query a VM's disk usage remotely. However I expect
this to not be super fast so I don't think this should be done directly in the
Munin.pl script. Also these typically do not change all that often so querying
them every 5 minutes may be overkill. So the way to go would probably be to run
a script from cron to update a TestBot table with that data (likely the Records
table), and then have Munin.pl return the latest data from that table.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list