fb
WSO2 Enterprise Integrator 2 min

WSO2: Yenlo implements SCOM monitoring for the WSO2 ESB

Thijs Volders
Thijs Volders
Strategic Technology Officer
30 maa no 1
Scroll
30_maa_no_1.gif          WSO2_logo_klein.png

Monitoring your infrastructure is a vital requirement for your infrastructure. There are multiple approaches to monitoring, one of which is technical monitoring of your environment.

Mostly you can monitor your environment using tools like Zabbix, Nagios etc. But we encounter many environments which are mostly Microsoft based. Microsoft offers a monitoring platform called System Center Operations Manager also known as SCOM.

The SCOM product by itself is a perfect match for monitoring Microsoft based products and has some capabilities to monitor other types of products. SCOM can monitor using Microsoft SCOM agents as well as using the SNMP protocol.

As you know WSO2 ESB is a java product and in the java-realm monitoring is generally available using JMX. SCOM however has limited JMX monitoring capabilities. Thus the alternative to monitor WSO2 products like WSO2 API manager, WSO2 Identity Server or WSO2 ESB is SNMP.

Monitoring using SCOM and SNMP

All WSO2 products are built from the Carbon framework. The Carbon framework contains an SNMP capability which you can enable by enabling SNMP in the carbon configuration. To enable SNMP monitoring please follow these instructions:

– Please download several support libraries from http://www.snmp4j.org/

– You need to download snmp4j-2.1.0.jar and snmp4j-agent-2.0.6.jar

– Copy these files into <CARBON_HOME>/repository/lib

– Enable SNMP by editing <CARBON_HOME>/repository/conf/snmp.properties

In this property file please add the following entries:

1
2
3
synapse.snmp.enabled=true
synapse.snmp.host=<Your Host, Default is 127.0.0.1>
synapse.snmp.version=<Your required SNMP version, Default is snmpv1>

You can optionally override the following properties too:

1
2
3
4
5
6
synapse.snmp.port=<SNMP portnr, Default is 9161>
synapse.snmp.location=<Name of the location of this SNMP-entity, Default is Virtual>
synapse.snmp.contect.name=<Contact name, Default is carbon@carbon.super>
synapse.snmp.description=<Your description>
synapse.snmp.community.name=<The SNMP-community name to use, Default is public>
synapse.snmp.security.name=<The security groupname to use, Default is cpublic>

NB: The port number used by WSO2 is different from the default port number used for SNMP. The default SNMP port is UDP port 161 but WSO2 uses 9161 as default!

Microsoft SCOM is rather strict on the SNMP capabilities it expects which the current version of the ESB (4.8.1) at the time of writing does not offer out of the box.

If you have a support contract with WSO2 then we have a patch available for you to enable SCOM support. Please contact us.

Full API lifecycle Management Selection Guide

WHITEPAPER

smartmockups l0qqucke