Hi,
Is there a way using which i can calculate uptime percentage for a specific time interval using AppD?
I read through the below thread but this doesn't really help with the percentages that I am looking for.
Please help.
Thanks,
Bala
Hi Bala,
see if writing custom script by retrieving the value for <value> element from rest api response and manipulating the sun of values with duration in time in minutes helps to get percentage and you could report the custom metric using machine agent to UI and can use in custom dashboard or Health rule alert,
Check if that informaiton helps
Thanks for the response.
Can i use the <sum> instead of the <value>? My understanding is that it is basically the uptime of the specific node.
For example, If i want to calculate the uptime SLA percentage of last 1 month of a specific node, total number of minutes would be "43200" and assume there has been some downtime for this specific node. I believe during this downtime, this availablity metric does not have any value. So if i take the <sum> elements value from the response, is my assumption right that this is the total uptime in the last 1 month.
I can now calculate percentage like below.
(<sum> element value / 43200) * 100
Please correct me if I am wrong here.