![](https://secure.gravatar.com/avatar/14ae24519b6b3b15fe82acafde358c55.jpg?s=120&d=mm&r=g)
Hi!
I get this error when enabling libvirt. This is on a CentOS 7 with Qemu :
##### *Module Start: **virtual-machines* #####
Virtual machines: Libvirt VM: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
I have configured the following in config.php :
$config['enable_libvirt'] = 1; # Enable Libvirt VM support
$config['libvirt_protocols'] = array("qemu+ssh","xen+ssh"); # Mechanisms used, add or remove if not using this on any of your machines.
What else is needed ?
I assume either username/password or key based access, but does this have to be set for the user running the observium poller/discovery or elsewhere ?
/Jesper
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
Hi Jesper,
The user running the poller needs to be able to ssh key-less into the monitored machine, indeed. This is a requirement of libvirt when using the SSH method.
You can also connect to the libvirt daemon directly if you configure it like that, but I've never done that before.
Tom
On 04/21/2016 03:58 AM, Jesper Frank Nemholt wrote:
Hi!
I get this error when enabling libvirt. This is on a CentOS 7 with Qemu :
##### *Module Start: **virtual-machines* #####
Virtual machines: Libvirt VM: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
I have configured the following in config.php :
$config['enable_libvirt']=1; # Enable LibvirtVM support
$config['libvirt_protocols']=array("qemu+ssh","xen+ssh"); # Mechanisms used, add or remove if not using this on any of your machines.
What else is needed ?
I assume either username/password or key based access, but does this have to be set for the user running the observium poller/discovery or elsewhere ?
/Jesper
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Jesper Frank Nemholt
-
Tom Laermans