GustavoVazquez
Contributor
Contributor

Powered Off VM timestamp.-

I want to add to a customized report the days since the shut down of a machine. I can't find a metric or a property that keeps that value. I tried with a supermetric as shown in https://www.tilkens.com/2019/10/tracking-vm-powered-off-duration/, but it only works with the vms that exists while the metric was created.

 

Is there any metric or property that keeps that value?

 

Thanks in advance.

Gustavo.-

Tags (1)
0 Kudos
2 Replies
KabirAli82
Hot Shot
Hot Shot

Hi,

There is no OOTB metric or property that will count the number of days. Eventho a super metric will get you far, I think its better to write a script for this...


Was I helpful? Give a kudo for appreciation!
Braindumping @ http://kablog.nl/
Tweeting @ https://twitter.com/_Kabir_Ali_
0 Kudos
RickVerstegen
Expert
Expert

Do you have Log Insight?
You could also use vRLI alerting to know exactly when a VM was powered off as this information is in the logs.

Blog: https://rickverstegen84.wordpress.com/ Twitter: https://twitter.com/verstegenrick
0 Kudos