Documentation

Configure IBM AS/400 monitoring requirements

On the page

Need some help?

IBM AS/400 Monitoring Principles

The following protocols are used to monitor an AS/400 host:

  • SNMP: SNMP must be configured on the AS/400 host, and the ServiceNav Box must also be configured.
  • Via telnet: direct command execution on AS400 and syntax analysis of the results on the ServiceNav Box side. A user is required on the AS/400 side.
  • Via API and calling of monitoring library functions (RPG) installed on the AS/400 host: an AS/400 user is required
  • Via Java API JTOpen/TCP: a user is required on the AS/400 side

General Prerequisites

The AS/400 must be able to communicate with the ServiceNav Box. Therefore, the Option 12 Host Servers must be installed and active on the AS/400.

SNMP configuration

AS/400 side

The UDP/161 port must be open from the ServiceNav Box to the AS/400. All UDP ports must be open from the AS/400 to the ServiceNav Box.

Set up the SNMP community: public => CFGTCP / option 20 / option 1 / option 2 = Work with communities for SNMP

as400_1.gif

Make sure that SNMP service starts in auto: => CFGTCP / option 20 / option 1 / option 1 =Change SNMP attributes param AUTOSTART *YES

ServiceNav Box

AS/400 communicates via SNMP on UDP ports other than UDP/161. Therefore, incoming communication must be allowed on all UDP ports from the AS/400.

  • Login as SSH on the ServiceNav Box
  • Locate the name of the ServiceNav Box's local network interface

ip a

  • Edit /etc/init.d/iptables.sh
  • Add the following lines :

## Accepting incoming UDP connections to receive AS400 SNMP responses
iptables -A INPUT -p udp -i -s <@IP LAN AS/400> -j ACCEPT 

  • Reload the ServiceNav Box firewall configuration by running the following line:

/etc/init.d/iptables.sh

To check the configuration, perform an AS/400 host discovery from the ServiceNav Box, as follows here.

AS/400 configuration for API use

The following TCP communication ports must be open from the ServiceNav Box to the AS/400 host: 8470, 8473, 8475, 8476 and 449.

An AS/400 user must be defined. The minimum rights of this user must be the same as those of a local AS/400 user accessing the data collected by service templates, and therefore depends on the configured service template. A user with the following configuration will work:

User class : *SYSOPR
NAGIOS user profile Display sign-on information *NO ==> - CHGUSRPRF USRPRF(NAGIOS) DSPSGNINF(*NO)

Telnet collection

The following service templates perform resource collection and analysis on the ServiceNav Box side:

  • IBM-AS400-Cpu
  • IBM-AS400-Disk
  • IBM-AS400-JobStatus
  • IBM-AS400-StatusDisk

On the ServiceNav Box side, the language to be configured in the services, in the field OS languageis that of the AS400 user:

as400 telnet user

Collection via JAVA API

The following service templates require access to the JAVA API on the AS/400 host:

  • IBM-AS400-i5_ALL_JobStatus_IN_Subsystem
  • IBM-AS400-i5_ASPSize
  • IBM-AS400-i5_FunctionStatus_JOB_IN_Subsystem
  • IBM-AS400-i5_IJS
  • IBM-AS400-i5_JobStatus
  • IBM-AS400-i5_JobStatus_IN_Subsystem
  • IBM-AS400-i5_MessageQueue
  • IBM-AS400-i5_SubsystemStatus

Collection via JAVA API and invocation of API functions

The following service templates require a specific library to be installed on the AS/400 server:

  • IBM-AS400-i5_ASPPercent
  • IBM-AS400-i5_CpuLoad
  • IBM-AS400-i5_DBUse
  • IBM-AS400-i5_DistributionFileStatus
  • IBM-AS400-i5_HostStatus
  • IBM-AS400-i5_JOBQ
  • IBM-AS400-i5_resourceTypeStatus

This library is available upon request from IBM through the usual product support channel.

To install the library on the AS/400:

  • Download the two SAVF files to the AS/400
  • Execute the RSTLIB command for each file

This may also be of interest to you

Configuring SNMPv1 on IBM AIX

Monitoring a storwize array

Monitoring Lotus Notes / Domino servers

en_US

Welcome to ServiceNav!

Need help? More information about our products? Write to us!
You have taken note of our privacy policy.

[COVID - 19 ] - TELEWORKING, TARGET AVAILABILITY 100% !

While the epidemic lasts, ensure the availability and performance of your IT services for teleworking, with ServiceNav!

Following the government's call to mobilize to help businesses overcome the current health and economic context, we help you, free of charge, to ensure the complete monitoring of your teleworking environments: VPN, VDI, Teams, Skype Enterprise, Citrix... Objectives: collection, availability and usage indicators, dashboards to support your communication.
We use cookies to ensure that you have the best possible experience on our site, and if you continue to use this site, we will assume that you are satisfied with it.

Reserve your place

You have taken note of our privacy policy.