Hitachi

JP1 Version 12 Network Management: Getting Started


1.6.5 Setting up SSO - AP (for Linux)

If the Monitoring Agent is to run on Linux, change the hosts file and port number.

Organization of this subsection

(1) Setting the local IP address in the hosts file

If 127.0.0.1 is defined as the local IP address in the /etc/hosts file, the SSO - AP process cannot be monitored. You need to define the actual local IP address.

Procedure

  1. Open the /etc/hosts file.

  2. Search for the following line:

    127.0.0.1 local-server-name localhost. localdomain localhost

  3. Change the line as follows:

    127.0.0.1 localhost. localdomain localhost

    IP-address-of-the-local-server local-server-name

    (Example)

    127.0.0.1 localhost. localdomain localhost

    172.16.49.18 linux01

  4. Save the /etc/hosts file, and then close it.

(2) Changing the port number in the apmstart file

To perform process monitoring for SSO - AP, you need to match the default start port number of the SNMP agent and the port number in the apmstart file.

Before you begin

The port number of the monitoring agent that was set in the SSO's SNMP definition file (ssosnmp.conf) must be the same as the port number set in the apmstart file.

In the SSO's SNMP definition file (ssosnmp.conf), change the port number of the monitoring agent in the category name process or sso, under # 1. Specific Hosts or # 2. IP Address Wildcards.

Procedure

  1. Open the /opt/CM2/APM/bin/apmstart file.

  2. Search for the following line:

    SR_SNMP_TEST_PORT=221161

  3. Change the line as follows:

    SR_SNMP_TEST_PORT=new-port-number

    The default start port number of the SNMP agent is 22161.

  4. Save the /opt/CM2/APM/bin/apmstart file, and then close it.

Next steps

Next, start the Monitoring Agent again.