In the Red Hat® OpenShift® Container Platform console, configure the
PodMonitor custom resource to monitor your pods for
Maximo® Manage.
Maximo Manage 8.0 or later, must be installed.
- In the Red Hat OpenShift Container Platform console, from the side navigation menu,
click
.
- On the Search page, in the Project list,
select the
Maximo Manage project.
- Click the Resources field and search for
podmonitor and then click PodMonitor. You can see two
PodMonitors, maximo-instancelevel-monitoragent and
maximo-serverlevel-monitoragent, which are created by default with the
Maximo Manage deployment.
Note:
- Ports 9081 and 9444 for
https
are available for your
use.
- Connect to the Prometheus server without specifying certificates by using the
insecureSkipVerify
flag to disable the target certificate validation.
- If you want to monitor only a specific application type, such as ui, mea, rport, or cron, you
can open the YAML file and add that specific
appTypeName
.
- You must provide the correct and valid selector. Any pod in your cluster that matches the labels
located within the PodMonitor selector field will be monitored based on the podMetricsEndpoints
specified on the PodMonitor.
- Optional: To monitor a specific application type, click the
maximo-serverlevel-monitoragent Pod Monitor and then click the
YAML tab.
- For the selector, add
mas.ibm.com/appTypeName: <appTypeName>
to
monitor only a specific app type. For example, mas.ibm.com/appTypeName:
report
- Click Save.