You do not have to create PodMonitors anymore. In the Red Hat® OpenShift® Container Platform console, configure the PodMonitor custom resource
to monitor your pods for
Maximo® Manage.
Before you begin
Maximo Manage 8.x must be
installed.
Procedure
In the Red Hat OpenShift Container Platform console, select the
Maximo Manage project.
Go to
Home > Search and search for
"podmonitor". You can see two PodMonitors, maximo-instancelevel-monitoragent
and maximo-serverlevel-monitoragent created by default with
Maximo Manage deployment.
Figure 1. PodMonitors available with
Maximo Manage deployment
Note:
The port 9444 for https is 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 like UI, MEA, Report, or Cron, you can
go to the YAML file and add that specific appTypeName.
Optional: To monitor a specific appTypeName, select the
maximo-serverlevel-monitoragent PodMonitor and go to the YAML tab.
Under selector, add mas.ibm.com/appTypeName: <appTypeName> to
monitor only a specific app type.
For example, mas.ibm.com/appTypeName:
report
Click Save.
Figure 2. Example of monitoring a specific application type