MAS Manage MMI Stats Dashboard

While working on some code, I found myself wondering how to quickly check if things were running smoothly under the hood—if there were any database connection leaks or if the code was using too much memory. Rather than digging through the logs, I decided to use the Maximo Management Interface (MMI) APIs. I used postman to call the MMI APIs but it was very cumbersome to individually call each API endpoint so I built a lightweight dashboard to show key JVM metrics from the MMI APIs.

This dashboard is strictly for use in a development environment and is not meant for production. It works only with the “all” server bundle and displays data from five MMI endpoints: threads, thread pool, memory, database connections, and user sessions. The stats auto refreshes every 2 minutes.

You’ll need a Maximo Manage API key to make it work. The API key must be embedded directly in the HTML, and you’ll also need to update the endpoints variable in the dashboard HTML to point to your Maximo Manage environment’s URL.

The dashboard can be run directly from your desktop or hosted on a web server. If you’re running it locally, set the mxe.oslc.aclalloworigin property in Maximo Manage to *. If it’s hosted, make sure the web server’s domain is added to that same property to avoid CORS issues. Also, include apikey to the existing list of headers in the mxe.oslc.aclallowheaders system property.

Its a quick and easy solution to monitor your development environment. You can add more MMI APIs or customize the UI as needed.

Check out the dashboard code here.

Leave a Reply

Your email address will not be published. Required fields are marked *