简体   繁体   中英

Collect VM uptime from openstack cloud

I would like to collect uptime info from a VM provisioned in Redhat Openstack. Is there a native service in OpenStack to continually provide the system logs (with uptime info)? I checked Nova VM diagnostics capability - https://wiki.openstack.org/wiki/Nova_VM_Diagnostics#Overview but i am still trying to figure out if i should have it on an agent on the VM in openstack to provide me the logs or is there any better and elegant way to do it?

You can use the Gnocchi service for information about server uptime.

you can use one of these solutions

  • setup ceilometer with seprated rabbit-mq cluster
  • use libvirt exporter (if you are using kvm/qemu) and prometheus.
  • setup custom script and send it to instance via cloud-init (not very good idea if you are not the owner of instance)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM