Creating a monitoring instance
Use the following information to create a monitoring instance.
Step 1. Managing user access
To get started with IBM Cloud® Monitoring for SAP systems, you need an IBM Cloud account and an Administrator IAM role. For more information, see Getting started with IBM Cloud® Monitoring.
Verify that the Virtual Routing and Forwarding (VRF) service endpoints are enabled in your Identity and Access Management (IAM) account settings. If VRF service endpoints are not enabled, enable the setting in your IAM account. For more information, see Enabling VRF and service endpoints.
Step 2. Provisioning a Monitoring service for an instance
To create a monitoring instance by using the IBM Cloud UI, use the following steps. For more information, see Provision an instance of the Monitoring service.
- Log in to the IBM Cloud® console.
- Click Navigation menu > Observability > Monitoring.
- Click Create +.
- Select and complete the following settings for the monitoring instance:
- Select the same location as the monitoring host and the deployed SAP systems.
- Select the resource group of your deployable architecture (DA).
- Enter a name or keep the default name.
- Select the Graduated Trier pricing plan.
- When you are ready to enable metrics, set the IBM platform metrics to Enabled.
Step 3. Collecting monitoring metrics
Retrieve the authorization credentials after you create the monitoring instance.
Enter the authorization credentials later on in the metric exporter configuration files.
- In the IBM Cloud® console, select Observability > Monitoring or go to Monitoring.
- Select your monitoring instance from the table and click Open dashboard.
- Click Get started. Your credential values are in the dashboard.
- Click Optional: Connect your Prometheus Servers to find the yaml-code with authorization credentials.
These credentials are used by the Prometheus monitoring agent, which uses them to send metrics data to the dashboard. From this yaml code, you only need the URL value and the credentials values. These values are defined as the <ibmcloud_monitoring_instance_url>
and <ibmcloud_monitoring_authorization_credentials>
, which identify the monitoring instance. The yaml code looks like the following example.
remote_write:
- url: "https://ingest.prws.eu-de.monitoring.cloud.ibm.com/prometheus/remote/write"
authorization:
credentials: "123-abcdh-xxx-456"
```
1. In the URL, replace the string `ingest.prws` with `ingest.prws.private` as the private ingestion endpoint.
The new URL looks like the following example.
```yaml {: screen}
ibmcloud_monitoring_instance_url=https://ingest.prws.private.<region>.monitoring.cloud.ibm.com/prometheus/remote/write
```
1. For a list of all private ingestion endpoints per region, refer to the IBM Cloud documentation that is described in
[Collecting metrics by using Prometheus remote write](/docs/monitoring?topic=monitoring-prometheus_remote_write#prometheus_remote_write_endpoints){: external}.
## Next steps {: #mon-creating-instance-next-steps}
You're ready to set up and configure a monitoring host and send the SAP metrics data to the IBM Cloud® monitoring instance. For more information, see [Setting up and configuring a monitoring host](/docs/sap?topic=sap-mon-exporter-setup-config).