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?
Asked
Active
Viewed 86 times
-1
-
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 Answers
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