Description
This tiny script shows you a overview of the virtual machines on QEMU/KVM carrier servers using libvirt as management interface.
It can either show all virtual machines or only the running VMs.
Prerequisites
This PHP Script requires PHP extension libvirt-php
Download
Download the gzip'ped tar archive
Installation
Unpack the archive to a webserver document root with direct access to your libvirt hypervisors over TCP Port 16509 or SSH
Adapt at least the variables
$dnsdomain
and $arr_hosts
to your infrastructure and change $comtype
to "qemu+ssh" when SSH instead of direct port access is wantedTry it out using
http://yourwebserver/virtmgr/index.php
add comment
( 601 views )
| permalink
| ( 3.1 / 1089 )