IBM Support

Nagios plugin support for IBM i

News


Abstract

Nagios provides enterprise-class open source IT monitoring, network monitoring, and server and application monitoring. A released version of the IBM i plugin for Nagios monitors IBM i systems. The plugin supports multiple monitoring metrics and custom SQL queries that you can use to create your own metrics.

Content

You are in: IBM i Technology Updates > Systems Management > Nagios plugin support for IBM i

Nagios provides enterprise-class open source IT monitoring, network monitoring, and server and application monitoring. The IBM i plugin for Nagios provides monitoring capabilities for IBM i systems. The plugin provides these key capabilities:

  • Multi-system monitoring. Nagios is well known as a multi-system monitoring tool, and you can now monitor multiple IBM i systems through Nagios. Different levels of views help administrators understand the overall health status of the entire data center, a group of IBM i systems, single IBM i partitions, and services of the operating system and applications. For large customers and managed service providers, this capability makes monitoring hundreds of IBM i systems practical.
  • Custom metrics support. Most monitoring tools for IBM i provide only predefined metrics, and users are limited to the items that are available. The Nagios plugin for IBM i provides predefined common metrics and also lets users define their own metrics. Users can use SQL to extend the metrics that are monitored, and hundreds of options are available based on different SQL queries over IBM i services.
  • Open source. The IBM i plugin is open source software, so users can customize it deeply to extend the project. A pluggable infrastructure lets users create new classes or modify existing functions to meet specific monitoring goals. If users modify the code, they need to focus only on the monitoring logic and metric retrieval.
  • No installation on monitored IBM i systems. The plugin uses JTOpen to connect to the target IBM i systems, and no daemon runs to collect monitoring data. For security, you can configure SSL over the connection. Most IBM i administration tools already use JTOpen connections, so nothing extra has to be installed on the IBM i system.

The IBM i plugin works with both Nagios XI and Nagios Core. Nagios XI provides extended GUI pages that simplify configuration of IBM i metrics and services.

Installation

If you use Nagios Core, complete the steps in Setting Up Nagios Plug-in for IBM i.

Functions

You can monitor IBM i systems with the Nagios plugin in several ways. The plugin provides Nagios commands for basic monitoring. The following table lists the basic metrics that this plugin can monitor.

Command nameDescription
CPU utilizationRetrieve the CPU utilization for the entire system
CPU usage for jobRetrieve the CPU usage for a specific job
CPU overload job numberRetrieve the number of jobs that exceed the expected CPU usage
Temp storage checkRetrieve the top N jobs that have the most temporary storage usage
Number of logon usersRetrieve the number of users that are currently logged on to the system
Disk status checkRetrieve the disk status
ASP usage percentageRetrieve the ASP usage percentage of the entire system
Job infoRetrieve job information in a specific subsystem
Long running SQLRetrieve the longest running SQL
Number of active jobsRetrieve the number of active jobs on the system
Page faults checkRetrieve the page faults
Message checkRetrieve the messages from a specific message queue
Specific message checkRetrieve whether a specific message ID is found in a specific message queue
Basic info checkRetrieve the basic information of an IBM i system
Customize SQLUse customized SQL to monitor different metrics on the system

The last row of the table describes custom SQL monitoring. You can configure self-defined commands to monitor any result that a SQL query returns. For details, see custom SQL monitoring for the IBM i plugin.

Nagios XI installation packages since 2019-09-26 contain IBM i plugins and GUI wizards by default. Two GUI wizards support configuring services and customized SQL for IBM i monitoring. For details, see IBM i configuration wizards in Nagios XI.

image-20200117154018-1

If you have more questions about the IBM i plugin for Nagios, see Nagios for i FAQs.

{ "data": [ { "Article Type":"News (DB600)", "Category":"Performance / Tools", "ARM Category":"Performance > Tools", "Keywords":"Nagios; Nagios XI; Nagios Core; IBM i plugin; open source monitoring; custom metrics; SQL monitoring; JTOpen; systems management; IBM i", "Predicate":"PROACTIVE", "Classifier":"MONITOR" } ] }

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CKnAAM","label":"Performance-\u003ETools"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0;7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;7.6.0","Edition":""}]

Document Information

Modified date:
22 November 2026

UID

ibm11274296