EV Observe - Configure IBM AS/400 Monitoring Prerequisites
To use services to monitor IBM AS/400 (Application System/400) servers, specific prerequisites must first be met.
- You configure these prerequisites once only for each Box.
- This is done in two steps:
- Configure the SNMP protocol on the AS/400 host and on the Box
- Configure the AS/400 host and the Box for the telnet collect and for using RPG and Java JTOpen/TCP APIs
Notes
- You must have access rights to the IBM AS/400 server to be able to configure the monitoring prerequisites.
- The configuration for the telnet collect and for using RPG and Java JTOpen/TCP APIs depends on the IBM-AS400 service templates. The procedure explains the configuration to be performed based on the templates used.
Procedure: How to configure IBM AS/400 monitoring prerequisites
Step 1: Enable communication between the AS/400 and the Box
1. Install option 12 Host Servers on the AS/400.
2. Enable the option.
Step 2: Configure the SNMP protocol
Step 2.a: Configure the SNMP on the AS/400 host
1. Open port UDP/161 on the Box for the AS/400.
2. Open all UDP ports on the AS/400 for the Box.
3. Configure the SNMP service.
- Log in to the server console.
- Run the command below in the configuration window.
CFGTCP
- Select option 20 (Configure TCP/IP Applications).
- Select option 1 (SNMP).
- Select option 1 (Change SNMP attributes).
- Select option 2 (Work with Communities for SNMP).
The SNMP service will start.
4. Check that the SNMP service is automatically started.
- Run the command below in the configuration window.
CFGTCP
- Select option 20 (Configure TCP/IP Applications).
- Select option 1 (SNMP).
- Select option 1 (Change SNMP attributes).
- Run the command below.
param AUTOSTART *YES
Step 2.b: Configure the SNMP protocol on the Box
1. Open all UDP ports for traffic from the AS/400.
2. Search for the name of the Box local network interface.
- Log in via SSH on the Box.
- Run the command below.
ip a
3. Modify the iptables.sh configuration file.
- Open the file called /etc/init.d/iptables.sh.
- Add the rows below and replace <Box_local_interface_name> with the name of the Box local network interface.
## Accept incoming UDP connections to receive AS400 SNMP responses
iptables -A INPUT -p udp -i <Box_local_interface_name> -s <@IP LAN AS/400> -j ACCEPT
- Run the command below to reload the Box firewall configuration.
/etc/init.d/iptables.sh
4. Check that the configuration works correctly by running a discovery of the AS/400 host from the Box.
See the detailed procedure
Step 3: Define the configuration for the telnet collect and for using RPG and Java JTOpen/TCP APIs
1. Open the following TCP communication ports on the Box for the AS/400 host: 8470, 8473, 8475, 8476, 449.
2. Define AS/400 user rights depending on the service template used.
Note:
- The minimum rights of the AS/400 user must be identical to those of a local AS/400 user accessing data collected by the service template. The rights therefore depend on the service template used.
- You can apply the ready-to-use user configuration below.
- User class: *SYSOPR
NAGIOS user profile Display sign-on information *NO ==> – CHGUSRPRF USRPRF(NAGIOS) DSPSGNINF(*NO)
3. Configure the telnet collect on the Web app if you are using the service templates below.
Note: Telnet enables the direct running of commands on the AS/400 and the syntax analysis of results on the Box.
List of service templates
- IBM-AS400-Cpu
- IBM-AS400-Disk
- IBM-AS400-JobStatus
- IBM-AS400-StatusDisk
- Go to the Web app.
- Select Configuration > Services > List in the menu.
- Select the service.
- Enter the language of the AS/400 user in the OS language field.
4. Grant access to the JAVA API on the AS/400 host if you are using the service templates below.
List of service templates
- IBM-AS400-i5_ALL_JobStatus_IN_Subsystem
- IBM-AS400-i5_ASPSize
- IBM-AS400-i5_FonctionStatus_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
5. Install a monitoring library (RPG) on the AS/400 host if you are using the service templates below.
List of service templates
- 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
Note: Contact the EasyVista Support team to obtain the relevant library information.
- Download the two SAVF files on the AS/400.
- Run the command below for each file to install the library.
RSTLIB