• 0

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



Edited by Massimo
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
  • Administrators

Complex datapoints will only take into consideration data obtained from the current poll and won't look at previous values. The only exception is the delta datapoints. You could probably do some cumulative averaging to get this to work, but it'd be a bit complicated and difficult for anyone coming after to follow.

Have you looked at the SLA widget for dashboards? https://www.logicmonitor.com/support/dashboards-and-widgets/widgets/service-sla-widget

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.