Hi,
I want to print the total memory usage.. Load Balancer Status is not needed.
"MemoryStatus" is present inside store:///xml-mgmt.xsd of API Gateway. However, it is not working when I refer it in var://service/system/status/
------------------------------
Nirmalya Mukherjee
------------------------------
Original Message:
Sent: Wed January 08, 2025 06:45 AM
From: Matthias Siebler
Subject: Need to check memory size in API Connect
Hi the correct uri would be var://service/system/status/LoadBalancerStatus or maybe var://service/system/status/LoadBalanceStatus
but i should also ask; why you need to check the LB status? generally using the var://service/system/status/ calls is expensive; and so should not be done unless the built in functionality is not sufficient?
------------------------------
Matthias Siebler
MA
------------------------------
Original Message:
Sent: Tue January 07, 2025 10:42 AM
From: Nirmalya Mukherjee
Subject: Need to check memory size in API Connect
I have tried to use var://service/system/status/MemoryStatus to print the status of load balancer using the GatewayScript. However, got the error "Incorrect variable name: 'var://service/system/status/MemoryStatus'"
Let me know if there is any syntax error in this?
------------------------------
Nirmalya Mukherjee