Published on InterSystems Developer Community (https://community.intersystems.com)

Home > API Calling from Ensemble?

Question
Jens Cheung · Aug 10, 2022

API Calling from Ensemble?

I'm trying to develop monitoring API for the following requirements:

 

Component status - indicates whether the component (service, process or operation) up/enabled or down/disabled, and tell if there are more than two states (e.g. retrying, suspended)

Input: component name

Output: component state

 

Queue depth - indicates how many messages are in a queue.

Input: queue name

Output: number of messages currently in the queue

 

Last activity date - indicates the last time that a message was received by a component

Input: component name

Output: a date/time which corresponds to when the component last received a message 

 

I went through Monitoring InterSystems IRIS Using REST API doco but it seems mostly backend. Is anyone or resource is working on fetching data from the interface? Any feedback is appreciated. 

#API #Monitoring #System Alerting and Monitoring (SAM) #Ensemble
Product version: IRIS 2021.1
$ZV: Build 215

Source URL:https://community.intersystems.com/post/api-calling-ensemble