SNMP Agent

This chapter describes about environment configurations of the JEUS SNMP agent.

1. Overview

JEUS SNMP agents have characteristics of J2EE components as well as that of the enterprise message-oriented middleware.

  • Fully supports the Jakarta management 1.1 specifications.

  • Supports SNMPv1 and SNMPv2, which are commonly used as NMS protocols.

    All SNMP Managers that use SNMPv1 and SNMPv2 can retrieve internal information from JEUS through the agent.

  • Provides SNMPv3 for secure communication with SNMP agents.

    SNMP Manager is required to securely communicate with SNMP agents. All SNMP Managers that use SNMPv3 can securely retrieve information.

  • JEUS SNMP agents can be executed on each of their corresponding JEUS JVM (server).

2. Configuring the SNMP Adapter

The following explains how to configure an SNMP agent using the JEUS configuration file (domain.xml).

    <server>
    ...
        <jmx-manager>
        ...
            <snmp-adaptor>
                <snmp-adaptor-port>8099</snmp-adaptor-port>
                <snmp-version>3</snmp-version>
                <snmp-max-packet-size>256</snmp-max-packet-size>
                <trap-demon>
                    <ip-address>127.0.0.1</ip-address>
                    <port>9099</port>
                </trap-demon>
                <pooling>
                    <min>1</min>
                    <max>5</max>
                    <period>30000</period>
                </pooling>
            </snmp-adaptor>
        ...
        </jmx-manager>
    ...
    </server>

The following describes each item.

Item Description

Snmp Adaptor Port

Listener port of the SNMP adapter. SNMP Manager can request management information through this port.

Snmp Version

SNMP version. 1, 2, or 3 can be used.

Snmp Max Packet Size

Maximum SNMP packet size. The minimum size is 256 bytes.

Snmp Security

Indicates whether to enable SNMP security. Security can only be specified in SNMPv3.

Trap Demon

Server to send TRAP messages to after an error occurs.

Multiple addresses can be used. Messages will be sent to all specified IP addresses.

Pooling

If requests arrive for SNMP agent simultaneously, a thread pool can be used.

  • Min, Max: The minimum & the maximum number of worker threads.

  • Period: Worker thread check interval.

The thread pool configuration is shared by various JEUS components. For more information, refer to relevant guides.