160
Chapter 7. Monitoring
required between the systems and RHN. This may be especially desirable if you already
have
sshd
running. To configure the daemon for monitoring use:
1. Ensure the SSH package is installed on the systems to be monitored:
rpm -qi ssh
2. Identify the user to be associated with the daemon. This can be any user
available on the system, as long as the required SSH key can be put in the user’s
~/.ssh/authorized_keys
file.
3.
Identify the port used by the daemon, as identified in its
/etc/ssh/sshd_config
configuration file. The default is port 22.
4. Install the SSH public key on all client systems to be monitored, as described in
Section 7.2.4
Installing the SSH key
.
5. Start the
sshd
on all client systems using the command:
service sshd start
6. When adding probes requiring the daemon, insert the values derived from steps 2
and 3 in the
RHNMD User
and
RHNMD Port
fields.
7.2.4. Installing the SSH key
Whether you use
rhnmd
or
sshd
, you must install the Red Hat Network Monitoring Dae-
mon public SSH key on the systems to be monitored to complete the secure connection.
To install it:
1. Navigate to the
Monitoring
⇒
Scout Config Push
page of the RHN website and
click the name of the RHN Server that will monitor the client system. The SSH
id_dsa.pub
key is visible on the resulting page.
2. Copy the character string (beginning with
ssh-dss
and ending with the hostname
of the RHN Server).
3. On the command line of the system to be monitored, switch to the user aligned with
the daemon. This is accomplished for
rhnmd
with the command:
su - nocpulse
4. Paste the key character string into the
~/.ssh/authorized_keys
file for the dae-
mon’s user. For
rhnmd
, this is
/opt/nocpulse/.ssh/authorized_keys
.
If config management is enabled on the systems to be monitored, you
may deploy this file across systems using a config channel. Refer to
Section 6.6.6.1
Preparing Systems for Config Management
for details.
Содержание NETWORK 4.0 -
Страница 1: ...Red Hat Network 4 0 Reference Guide...
Страница 10: ......
Страница 16: ...vi Introduction to the Guide...
Страница 24: ...8 Chapter 1 Red Hat Network Overview...
Страница 40: ...24 Chapter 2 Red Hat Update Agent Figure 2 11 Available Package Updates...
Страница 58: ...42 Chapter 2 Red Hat Update Agent...
Страница 80: ...64 Chapter 5 Red Hat Network Registration Client Figure 5 15 Text Mode Welcome Screen...
Страница 186: ...170 Chapter 7 Monitoring...
Страница 200: ...184 Chapter 8 UNIX Support Guide...
Страница 214: ...198 Appendix A Command Line Config Management Tools...
Страница 274: ...258 Appendix C Probes...
Страница 282: ...266 Glossary...