App Alerts and Notifications
Alerts and notifications configured for TIBCO Flogo® and TIBCO BusinessWorks apps let you know when an app has met the criteria for a rule, such as CPU or memory thresholds.
You can configure alerts and notifications using the TIBCO Cloud™ Integration Platform API for any apps you want to monitor. Apps can be configured with one or more rules. When the criteria for a rule has been met for more than 30 seconds, an alert is triggered. That alert generates a notification that is sent to webhooks configured in Flogo or TIBCO BusinessWorks to listen for notifications. Alerts are stored in the database for 24 hours and can be retrieved using the API.
If webhook is configured to listen for alerts or the webhook is not running, TIBCO Cloud Integration cannot successfully send an alert. If the first attempt to send an alert to the monitoring app is not successful, TIBCO Cloud Integration attempts to send the alert two more times.
To configure and receive alerts and notifications:
- Use the
POST /v1/subscriptions/{subscriptionLocator}/rules/{rulesId}
method to add one or more alert rules to each app you want to monitor. See Adding an Alert Rule to an App with the API. - Use the
GET /v1/subscriptions/{subscriptionLocator}
method to review the apps configured for each alert rule. See Viewing Alert Rules and Associated Apps with the API. - Use the
GET /v1/subscriptions/{subscriptionLocator}/alerts
method to see a list of the alerts received in the last 24 hours for each app. See Viewing Alerts for Apps with the API. - For information on configuring webhooks for alerts in TIBCO Flogo®, see Creating a Webhook App for TIBCO Cloud™ Integration App Alerts.
- For information on configuring webhooks for alerts in TIBCO BusinessWorks, see Creating Webhook App for Receiving TIBCO Cloud Integration App Alerts.
Alert Rules
The following rules trigger an alert for the assigned app when that app exceeds the rule's thresholds for more than 30 seconds. When using the API, use the Rule ID parameter to specify a single rule.
Rule ID | Definition |
---|---|
TIB_APP_HIGH_CPU_GT_90 | Triggers a High CPU alert when the app CPU use exceeds 90%. |
TIB_APP_HIGH_CPU_GT_80_LE_90 | Triggers a High CPU alert when the app CPU use is greater than 80% and less than 90%. |
TIB_APP_HIGH_CPU_GT_75_LE_80 | Triggers a High CPU alert when the app CPU use is greater than 75% and less than 80%. |
TIB_APP_HIGH_MEMORY_GT_90 | Triggers a High Memory alert when the app memory use is greater than 90%. |
TIB_APP_HIGH_MEMORY_GT_80_LE_90 | Triggers a High Memory alert when the app memory use is greater than 80% and less than 90%. |
TIB_APP_HIGH_MEMORY_GT_75_LE_80 | Triggers a High Memory alert when the app memory use is greater than 75% and less than 80%. |
TIB_APP_HIGH_FAULTED_EXECUTIONS_GT_90 | Triggers a High Fault alert when the percentage of app executions with faults exceeds 90%. |
TIB_APP_HIGH_FAULTED_EXECUTIONS_GT_80_LE_90 | Triggers a High Fault alert when the percentage of app executions with faults is greater than 80% and less than 90%. |
TIB_APP_HIGH_FAULTED_EXECUTIONS_GT_75_LE_80 | Triggers a High Fault alert when the percentage of app executions with faults is greater than 75% and less than 80%. |
TIB_APP_HIGH_FAULTED_EXECUTIONS_GT_50_LE_75 | Triggers a High Fault alert when the percentage of app executions with faults is greater than 50% and less than 75%. |
TIB_APP_HIGH_FAULTED_EXECUTIONS_GT_25_LE_50 | Triggers a High Fault alert when the percentage of app executions with faults is greater than 25% and less than 50%. |
TIB_APP_INSTANCE_COUNT_0 | Triggers an Instance Count alert when the number of instances of an app scales down to 0. |