IBM i

Overview Copied

The IBM i Collection Agent plugin collects metrics from the IBM i (AS/400) systems using JTOpen APIs. The plugin publishes metrics into Geneos as Dynamic Entity data and does not require any additional software to be installed on the monitored IBM i host.

The plugin enhances Geneos enterprise monitoring by providing native visibility into IBM i system, subsystem, and memory pool metrics, enabling consistent monitoring alongside on-premise, cloud, and hybrid environments.

The IBM i Collection Agent plugin allows you to:

Monitored services Copied

You can use the IBM i plugin to monitor different IBM i services by using the following services within the Collection Agent configuration:

IBMi/System Copied

The IBMi/System service collects system-level metrics, including:

Disk metrics are collected using a tiered approach to maximise compatibility:

  1. Native IBM i program calls.
  2. SQL-based system views.
  3. Legacy aggregate ASP metrics.

IBMi/Subsystem Copied

The IBMi/Subsystem service collects subsystem-level metrics, including:

IBMi/Pool Copied

The IBMi/Pool service collects memory pool metrics, including:

If individual pool metrics are unavailable, then system-level pool summary metrics are published instead.

Prerequisites Copied

Geneos environment Copied

The IBM i Collection Agent plugin requires the following Geneos components:

Java must be available in the Collection Agent runtime environment.

IBM i environment Copied

The IBM i plugin requires:

*ALLOBJ special authority is recommended to ensure full metric coverage.

Network connectivity Copied

The Collection Agent must be able to connect to the IBM i host servers on the following ports:

Security considerations Copied

Although TLS configuration parameters are exposed, secure connections are currently disabled at runtime. All connections to IBM i systems are established using plaintext JTOpen sessions.

Until TLS support is enabled in a future release, it is recommended to secure traffic using external mechanisms such as:

Configure Geneos to deploy the IBM i plugin Copied

The IBM i plugin supports Collection Agent publication into Geneos using Dynamic Managed Entities. Setting up this plugin in Geneos involves the following steps:

  1. Set up your Collection Agent plugin.
  2. Configure your mappings.
  3. Configure other Dynamic Entities in the Gateway, see Create Dynamic Entities in Collection Agent setup for a more detailed procedure.

Set up your Collection Agent plugin Copied

You can configure the IBM i plugin by adding the following configuration to the collection-agent.yml file. Set up your collector in the Gateway Setup Editor by adding the following configuration in Dynamic Entities > Collectors. For more information, see Collectors in Dynamic Entities.

collectors:
  - name: ibmi
    type: plugin
    className: IbmiCollector

    # Interval (in milliseconds) between collections
    collectionInterval: 60000

    systemName: ibmi.example.com
    username: ibmiuser
    password: ${env:IBMI_PASSWORD}
    connectionTimeout: 20

    enabledServices:
      - IBMi/System
      - IBMi/Subsystem
      - IBMi/Pool

    subsystemFilters:
      library: "*ALL"
      name: "*ALL"
      status:
        - ACTIVE
        - ENDING
        - INACTIVE
        - RESTRICTED
        - STARTING
      maxRows: 20

If enabledServices is not specified, all services are enabled by default.

Configure your mappings Copied

To display metrics in Geneos, Dynamic Entity mappings must be configured and attached to the Netprobe receiving data from the Collection Agent.

You can configure mappings using one of the following options:

The provided mapping template creates Dynamic Entities for IBM i systems, subsystems, and memory pools.

["Geneos"] ["Geneos > Netprobe"] ["Technical Reference"]

Was this topic helpful?