Using SCOM with Mule ESB

Chad Gorshing
Chad Gorshing

Latest posts by Chad Gorshing (see all)

Chad Gorshing

Integrating an ESB platform in your existing infrastructure is crucial to making sure everybody gets along and plays well together.

Mule MMC has some alerts you can configure. But sometimes this is not enough for a support team. I can’t imagine having a large enterprise with all systems emailing/alerting their own alerts. That would become unwieldy and a huge drain to work through all of that noise.

Many enterprises employ Microsoft System Center Operations Manager (SCOM) to help their support staff in monitoring, responding, and being proactive to problems across their entire infrastructure. Getting Mule to work in this playground is very valuable.

Most admins that are fluent with MSFT related technologies aren’t that well versed with Java related technologies (Tomcat, Mule, ActiveMQ and so forth). With these things in mind we feel it is best to leverage things that are already known and play well with others. To solve this problem we recommend using a Mule Custom Agent that will expose the different JMX metrics as JSON, then by using a Powershell script parse/read the JSON and create entries in Windows Event View. There are other avenues you could take to get these metrics in SCOM, but again trying to play well with others lends us to this workflow. Other that are more fluent with MSFT related technologies will feel at home with Powershell and the Event Viewer than most other items.

To expose the different JMS metrics as JSON, we have used Jolokia (see http://www.jolokia.org/agent/mule.html for directions) as a Mule Custom Agent. It has worked well for us in multiple environments with no hassle. Once you have this set up for your Mule standalone server, then the following URLs will help in discerning valuable information:

For the value to use for “<appName>” changes frequently due to snapshot versions and/or timestamps (we use Maven builds). The initial “list” URL is beneficial to parse out the value to use for this field. See the reference code listing for an example function we have used.

If this has value to you, and you use other systems as well, keep in mind that ActiveMQ uses Jolokia as well. This makes it easy to get out Queue and Topic sizes as well.

4 Comments:



Leave a Reply



Twitter Feed

Latest Confluex Tweets


©2014 Confluex, Inc. All Rights Reserved.