All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Simple Network Management Protocol Protocol (SNMP) is an Internet-standard protocol for protocol for managing devices on IP networks. Given below is how to configure SNMP in WSO2 ESB, which exposes various MBeans via SNMP.   on IP networks. In order to monitor the ESB using SNMP, you need to configure SNMP with WSO2  ESB.

To configure SNMP with WSO2 ESB

  1. Download the following jar files from http://www.snmp4j.org and add them to the <ESB_HOME>/repository/components/lib directory. 
    • snmp4j-2.1.0.jar
    • snmp4j-agent-2.0.6.jar
  2. Enable SNMP in by adding the following entry to the <ESB_HOME>/repository/conf/synapse.properties file by adding the following entry:
    synapse.snmp.enabled=true

...

  1. Run the ESB in the DEBUG mode.

    Info
    titleNote

    To run the ESB in the DEBUG mode, edit the <ESB_HOME>/repository/conf/log4j.properties  file and change the line  log4j.category.org.apache.synapse=INFO  to  log4j.category.org.apache.synapse=DEBUG .

Once you enable SNMP monitoring and run the ESB in the DEBUG mode, you will see the list of registered object identifiers (OIDs) at the ESB server startup along with the SNMP agent and the SNMP transport adapter address.

Code Block
Monitoring Info : OID branch "1.3.6.1.4.1.18060.14" with the following sub-branches:

1 - ServerManager MBean

2 - Transport MBeans

3 - NHttpConnections MBeans

4 - NHTTPLatency MBeans

5 - NHTTPS2SLatency MBeans

MBean OID mappings

Following are the OID equivalents of the server manager and transport MBeans, which are described in JMX Monitoring:

[email protected] as OID: 1.3.6.1.4.1.18060.14.1.21.1.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.1.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.2.0

Name=pass[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.3.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.4.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.5.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.6.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.7.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.8.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.9.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.10.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.11.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.12.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.13.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.14.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.15.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.16.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.18.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.17.19.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.1.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.2.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.3.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.4.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.5.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.6.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.7.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.8.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.9.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.10.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.11.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.12.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.13.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.14.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.15.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.16.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.18.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.18.19.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.1.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.2.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.3.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.4.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.5.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.6.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.7.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.8.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.9.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.10.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.11.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.12.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.13.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.14.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.15.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.16.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.18.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.19.19.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.1.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.2.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.3.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.4.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.5.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.6.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.7.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.8.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.9.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.10.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.11.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.12.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.13.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.14.0

Name=passthru-https-rece[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.15.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.16.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.18.0

[email protected] as OID: 1.3.6.1.4.1.18060.14.2.20.19.0