List IED statistics of current state - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

List all statistics of current state IED. For this, you require the device ID of the IED as unique identifier:

curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/devices/<your-device-id>/statistics'

A successful response looks like this:

{
  "data": {
    "1674011676000": "{\"AppCount\":{\"ApplicationCount\":1.0,\"ApplicationStatusDetail\":[{\"applicationId\":\"hI5FOxrLcRCQ7doCpoQTDLXTki8al5sI\",\"title\":\"tom-nginx\",\"appStatus\":\"running\",\"repoName\":\"tomnginx\"}],\"MaxInstalledApp\":20.0,\"MaxRunningApp\":10.0,\"RunningApplicationsCount\":1.0},\"DeviceId\":\"fbbeb5943ed244a1ab38bdd19b80a3ff\",\"InternetStatus\":{\"serialVersionUID\":0.0,\"NetworkType\":\"RelayNR\",\"RouterIP\":\"\",\"RelayServerID\":\"192.168.153.128\",\"RelayServerAddress\":\"192.168.153.128\",\"CurrentConnectedIP\":\"\",\"CurrentConnectedPort\":\"\",\"currentConnectedKeystonePort\":\"\",\"RelayServerUsername\":\"\",\"RelayServerPassword\":\"\",\"RelayServerPort\":\"\",\"RURLAddress\":\"\",\"isRelaySet\":false,\"hostName\":\"\",\"isRURLSet\":false,\"LanIPAddresses\":[\"192.168.153.177\"],\"ExternalIPaddress\":[\"ied-iem.192.168.153.128\",\"192.168.153.177\"],\"BoxID\":\"593a242b1c2e4c72b38a0d08cf323ae6\",\"TomcatPort\":\"30000\",\"RURLTomcatPort\":\"30000\"},\"OperationalQualities\":{\"maxInstalledAppCount\":20.0,\"maxRunningAppCount\":10.0,\"maxUsableRamUsage\":8192.0,\"maxUsableStorageArea\":20480.0,\"maxCPULoad\":100.0},\"StorageInfo\":{\"DataSpaceFree\":\"3.4 GB\",\"DataSpacePercentage\":\"6.66%\",\"DataSpaceTotal\":\"3.9 GB\",\"DataSpaceUsed\":\"264.4 MB\"},\"SystemInfo\":{\"CPUInfo\":\"x86_64\",\"CpuCores\":\"2\",\"CpuPercentage\":\"0.50\",\"GetUptime\":\"0 days, 18 hours, 12 minutes\",\"KubeAppliance\":\"false\",\"MemoryFree\":\"7.1 GB\",\"MemoryPercentage\":\"7.14\",\"MemoryTotal\":\"7.8 GB\",\"MemoryUsed\":\"567.9 MB\"},\"correlationID\":\"c0253e6fab8e-6896bf08-1dd3-4ab0-b728-d8bd641b0004\",\"currenttime\":1.674011675769E12,\"devicesCount\":0.0,\"interface\":[{\"interfaceName\":\"ens33\",\"macAddress\":\"00:0C:29:4E:6F:10\",\"iPAddress\":\"192.168.153.177\",\"subNetMask\":\"255.255.255.0\",\"status\":\"Enabled\",\"gateway\":\"192.168.153.2\",\"primaryDns\":\"114.114.114.114\",\"secondaryDns\":\"\",\"hostName\":\"ied-iem\",\"domainName\":\"ied-iem.192.168.153.128\",\"isEnabled\":true,\"dockerIP\":\"172.17.0.0/16\",\"gatewayInterface\":false}],\"ntpstatus\":{\"lastSyncTime\":1.674011619704E12,\"status\":\"ACTIVE\"}}"
  }
}