-1

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?

harshavmb
  • 3,404
  • 3
  • 21
  • 55
Manish
  • 23
  • 6
  • Why `azure` tag is added? How is it related here? Have you tried `openstack console log show `? If not, you have to use `cloud-init` & override `runcmd` to check the `uptime`.. – harshavmb Apr 09 '22 at 14:14

2 Answers2

0

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

SMJ
  • 11
  • 3
0

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)
Aref
  • 144
  • 1
  • 7