HP Insight Control for Linux 7.0 Installation Guide

# /sbin/hpsnmpconfig
For a sample of the SNMP configuration questions and how to respond, see the related appendix
in the HP Insight Control for Linux User Guide. Typically, you can accept the default responses to
most questions.
3.4.2.3 Modify the CMS entry in the /etc/hosts file
View the CMS information in the /etc/hosts file to ensure that the real host name of the CMS
is not equated to localhost.
Example 1 provides an example of the contents of this file. If your /etc/hosts file does not look
similar to the example, modify the file accordingly.
Example 1 /etc/hosts file entries for the CMS
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
CMS_IP_address CMS_fq_hostname CMS_hostname
The 127.0.0.1 IP address must be associated with the localhost entry, and the CMS information
cannot appear on the same line with localhost. The CMS IP address, fully qualified host name,
and host name must be on a separate line.
If those entries are not located on a separate line, use a text editor to make the necessary
adjustments.
For example, the /etc/hosts entries for a CMS named earth look like this:
127.0.0.1 localhost.localdomain localhost
192.0.2.5 earth.example.com earth
3.4.2.4 Configure a static IP address
Because managed systems need to know where to report events, ensure that the CMS is configured
with a static, stable IP address. HP does not recommend using DHCP for the CMS.
3.4.2.5 Open inbound and outbound ports on the CMS
The network ports listed in Table 9 are used for communication between the managed systems
and the CMS. These ports must be open to inbound traffic, so follow the instructions in the
vendor-supplied OS documentation to open the required network ports that are not already open.
All outbound ports are assumed to be open by default.
In addition to the standard ports, Insight Control for Linux binds to ports dynamically for outgoing
traffic. Because the outbound ports are chosen when the Insight Control for Linux agents are started,
the port numbers will vary between instances, and therefore, the exact port numbers are different.
If you do not open the required ports inbound, you must disable the firewall on the CMS.
Table 9 Network ports on the CMS that must be open to inbound traffic
ProtocolServicePort number
TCPssh22
UDPtftp69
TCP/UDPNTP (default)
1
123
TCP/UDPSNMP161
UDPSNMP trap listener162
TCPsyslog-ng214
22 Preparing for the Insight Control for Linux installation