Skip to main content
Solved

System threshold information through API

  • August 31, 2024
  • 1 reply
  • 0 views

Forum|alt.badge.img

We trying to pull the details of thresholds configured for individual devices through API,

The system threshold API has the information of latency, availability and data retention related information's, whereas the required details like CPU, Memory and disk space related details are not coming up, is there any way to pull these information through API? 

/api/device/3/device_thresholds

3 is one of our device ID.

 

Thanks

Gautham

 

Best answer by TonyAndres

Hello Gautham,

The Internal Collection Dynamic Apps leverage our internal collections, including the thresholds. The IC Filesystem DA, for example, leverages the default filesystem thresholds used by our internal collection process, in this case Data Collection: Filesystem statistics.

Antonio Andres

Senior Technical Support Engineer | ScienceLogic

1 reply

  • Community Manager
  • September 4, 2024

Hello Gautham,

If you are using the API Browser in the SL1 UI, you should be able to see all of the thresholds for the device split into 3 sections. The top section shows the device specific thresholds, like Availability and Latency. Then, you will see a section for the filesystems and a third section for dynamic apps. In these sections, the thresholds are split across the different discovered filesystems and aligned dynamic apps respectively and to see the data, you can click on the elipses (...) for the specific filesystem or dynamic app you want to see.

If you run a cURL command or poll the API directly in the browser, then all of this data should be expanded and you should see all of it.

Keep in mind that you will only see thresholds for dynamic apps if they have associated thresholds and are actively being collected.

Antonio Andres

Senior Technical Support Engineer | ScienceLogic