When Artica is in charge of a service (Reverse-Proxy, Proxy, databases..) , it monitors the entire health (CPU, memory, file descriptors, I/O flows, network).
The Service Wep API lets you publish all this information via a json.
This JSON can then be used by the Nagios server.
This API is added on Artica v4.50 Service Pack 1 and Hotfix 20250226-22
According to /system/monit/json API the main key of the proxy service is APP_SQUID.
the root for the CPU value ( in percentage ) is Services > APP_SQUID > Memory > Percent
for the memory usage and Services > APP_SQUID > CPU > Percent
for the CPU percentage
On the nagios server go to Configure and on the left menu, go to Advanced configuration > Core Config Manager
Monitoring
”, click on “Services
” sub-menu and click on Add Newcheck_json
”$ARG1$
, type-u 'http://1.2.3.4:9503/system/monit/json' -k 'Services.APP_SQUID.Memory.Percent' -w 90 -c 95
-k
set the full root to the final key-w 90
is the lower alert value ( 90% of CPU ) and the -c 95
is the max value for alert ( 95% )