Subscription Usage
The following payload creates a Subscription Usage alert. This alert type fires when the account uses 95 percent of the devices available for use based on the Remote Manager subscription.
There are a wide variety of values for the parameters of this alert. It is recommended that an alert is created with the Remote Manager Web UI, and you determine the acceptable values from a call to GET ws/v1/alerts/inventory.
Values:
-
scope.type: Always Global.
-
scope.value: Always empty string.
-
svcId: The service identifier.
-
unit: The unit being checked.
-
metric: The metric for the subscription data.
-
thresholdValue: The target value for the condition.
{
"name":"Too many devices",
"type":"Subscription Usage",
"scope":{
"type":"Global",
"value":""
},
"fire":{
"parameters":{
"svcId":"3",
"unit":"%",
"metric":"devices",
"thresholdValue":"90"
}
}
}