You want to configure alarms based on thresholds configured for returned metric values.
UIM 20.4 and later
RESTMON PROBE
the article is informational
The RESTMON probe does not support alarms (it supports metrics only).
If you want to set up alarms, based on restmon output, you need to use alarm policies :
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/unified-infrastructure-management/20-4/configuring-and-viewing-monitoring-data/manage-alarms-with-centralized-alarm-policies.html