Configure Prometheus and Grafana
Prometheus configuration
In Prometheus, edit the configuration file prometheus.yml
to specify the scrape configuration for OMEGAMON Data Connect (replace <host_name>
with the actual host name of the OMEGAMON Data Connect).
scrape_configs:
- job_name: 'omegamon'
static_configs:
- targets: ['<host_name>:9070']
scrape_interval: 1m
1
2
3
4
5
2
3
4
5
Restart the Prometheus server and verify that the state of this endpoint is UP
.
Import the dashboard definition in Grafana
In Grafana, import the dashboard definition supplied in the JSON file samples/grafana/dashboard-zos.json
in the odp-prometheus-samples
repository.
You should already have configured the Prometheus data source.
View the dashboard
The installation of the starter is completed. You should be able to start viewing data in the imported dashboard.