This API allows you to retrieve information from all the services monitored by Artica.
This API is added on Artica v4.50 Service Pack 1 and Hotfix 20250226-22
The API http://1.2.3.4:9503/system/monit/json
Provide 2 main branchs
The key ServicesLists list all main key that are listed inside the “Services” branch.
With this main key, you can directly point to the desired service
Here an example:
"ServicesLists": [ "TSYSTEM", "rootfs", "loopback", "ssl_db", "APP_GO_EXEC", "WEB_ERROR_PAGE", "ARTICA_NOTIFS", "APP_UFDBGUARD", "APP_SQUID",
So if we want to retreive information for the Proxy service ( APP_SQUID ), we have to point to Services – > APP_SQUID
It lists all the services and sub-information dependent on it.
here is an example of the main key APP_RSYSLOG which is the Rsyslogd service and have Type 3 ( 3 = Service, 1 = monitored directory, 2 = monitored file, 4 = Network interface, 5 = Host itself )
"APP_RSYSLOG": { "Type": 3, "Name": "APP_RSYSLOG", "CollectedSec": 1740603366, "CollectedUSec": 136727, "Status": 0, "StatusHint": 0, "Monitor": 1, "MonitorMode": 0, "OnReboot": 0, "PendingAction": 0, "PID": 2161174, "PPID": 1, "UID": 0, "EUID": 0, "GID": 0, "Uptime": 9733, "Threads": 24, "Children": 0, "Memory": { "Percent": 0.1, "PercentTotal": 0.1, "Kilobyte": 5520, "KilobyteTotal": 5520 }, "CPU": { "Percent": 0, "PercentTotal": 0 }, "FileDescriptors": { "Open": 52, "OpenTotal": 52, "Limit": { "Soft": 2048, "Hard": 2048 } }, "Read": { "BytesGeneric": { "Count": 434, "Total": 4261104 }, "Bytes": { "Count": 0, "Total": 0 }, "Operations": { "Count": 2, "Total": 13165 } }, "Write": { "BytesGeneric": { "Count": 1657, "Total": 15779250 }, "Bytes": { "Count": 2797, "Total": 25423872 }, "Operations": { "Count": 12, "Total": 113133 } }, "Port": { "Hostname": "", "PortNumber": 0, "Request": "", "Protocol": "", "Type": "", "ResponseTime": 0 } },