Forum Discussion

Matt_Gauthier's avatar
8 years ago

REST API - ability to retrieve effective threshold for a given instance

I'm attempting to create a report for our management that would show

hostname, winvolume usage instances, capacity of volume, current usage of volume, percent used of volume, groups host belongs to, current effective threshold (global/group/host/instance), current severity of alert (if any), alert acked, instance in sdt, alerting disabled effectively (group/host/instance)

Most of that is retrieved relatively easily, except for effective threshold.  Can that be added to the api?

  • Sarah_Terry's avatar
    Sarah_Terry
    Icon for Product Manager rankProduct Manager

    Hi Matt,

    Have you looked at the Thresholds resources for our REST API?  Specifically, if you look at the thresholds for a particular instance, you'll get the instance level alert expression, the global alert expression, and any applicable group level alert expressions.

    Thanks!

    Sarah