[libvirt-users] Use keepalive to monitor health of qemu-kvm process

Abhijeet Rastogi abhijeet.1989 at gmail.com
Thu Jun 19 08:38:11 UTC 2014


Hi everyone,

I've had instances where qemu-kvm process dies and become a zombie. At
that state, libvirtd reports the instance to be running and I can't
restart the VM because libvirtd fails to kill the qemu-kvm process.
Finding the root cause of that is a topic for another day.

I also see this line in logs:
Jun 15 13:36:57 d12566 libvirtd: 10424: warning :
virKeepAliveTimerInternal:156 : No response from client 0x1600420
after 5 keepalive messages in 31 seconds

Is it possible to monitor the keepAlive thing via command-line ? (as a
nagios check). I know that I can poll for that line in the logs but is
there a better way? I couldn't find any option in virsh to do a
KeepAlive check.

Thanks

-- 
Cheers,
Abhijeet Rastogi (shadyabhi)




More information about the libvirt-users mailing list