SLA demonstration counter
Hi all,
I'm struggling in order to obtain, in a "custom" datapoint, the percentage of the service availability relative to a time interval in which a certain datapoint has assumed a specific value.
In other words...
Let's take the "HeartbeatStatus" datapoint of the "VMware_vCenter_VMStatus" datasource: it's output can be 0 (if ok) or >= 1 (if not ok). I'm looking for a way to count the percentage, within a preceoncerted time interval, in which the datapoint takes on a certain value, for example "during the last 30 days, HeartbeatStatus has been 0 (ok) 98% of the time".
It's a sort of SLA demonstration.
Is there a way to obtain that metric with regular expressions on a complex datapoints, or even inside a widget?
Many thanks
Regards
M.