Monitoring and Policy Management
Overview
The HCP Monitor service provides data to optimize resources and their utilization by setting up alarms and alerts based on the policy created for any subscription.
Enable Monitoring
In order to enable monitoring:
Login to your HCP account.
Navigate to Customer Management > Customers > Select Subscription > Select Settings > Enable and Save Changes to start monitoring.
Once monitoring has been enabled its goes through different stages before sending monitoring statistics
Status | UI Description | Remark |
---|---|---|
Ready/Waiting | Monitoring is initiated. | The request for monitoring to be enabled against a subscription has been made; its either Pending to be received at monitor service or is under process of registration. |
Monitoring | Monitoring is enabled successfully. | Monitoring has started successfully at monitor service and data received is being checked against the policy attached (If present) to send the violations/alerts to HCP. |
STOPPED | Monitoring is disabled successfully. | Monitoring has been successfully disabled at the monitor service. |
ERRORS | Failed to process monitoring request. | Some fault has occurred while monitoring or it failed to to get the usage data for the current cycle and will try again in next cycle (1 hour period). It's recommended that user should wait at least an hour to check back on the monitoring status if it has automatically resolved, else user can contact HCP support for assistance.
|
Enabled Monitoring: When HCP starts to receive monitoring alerts
Once monitor has been enabled successfully for the selected subscription:
Login to your HCP account.
Navigate to Customer Management > Dashboard > Alerts(Right panel).
Alerts notification on the right panel will start appearing for the subscriptions which have met the violation and crossed the required threshold values.
Note: To get alerts for the monitored subscription user will need to define policy. (See Policy Management)
Policy Management
To define a new policy:
Login to your HCP account.
Navigate to Governance & Security > Compliance and Security > Policy Management > Click on New Policy.
Add Policy Details.
Specify Rules.
Basic rule signature will define the percent increase against which the policy is checked and the interval within which this happens. See Table 1 below for example.
Add Rule Settings: As defined by the Rule Signature(s) selected.
Set Alert Settings.
Review and Submit. [1]
Note:
[1] User can always go back to previous rule setting window and review before finally submitting the rule.
Rules once set can be updated and monitoring will start as per the new settings.
Table 1: Example for basic Rule Signatures
Rule Signature | Description | Rule Type |
---|---|---|
CSP COST EXCEEDS X PERCENT | Rule to check the if the cost for the target resources under suscription exceed by given percent. | Budget |
CSP COST EXCEEDS X IN Y INTERVAL | Defined Interval within which we require for the given cost check to happen. | Budget |
© 2020 CloudSphere