User's Manual

7. Monitoring................................................................................................................................... 119
7.1. Prerequisites................................................................................................................... 119
7.2. Red Hat Network Monitoring Daemon (rhnmd) ........................................................... 119
7.2.1. Probes requiring the daemon .......................................................................... 120
7.2.2. Installing the Red Hat Network Monitoring Daemon..................................... 120
7.2.3. Configuring SSH............................................................................................. 121
7.2.4. Installing the SSH key .................................................................................... 121
7.3. Notifications................................................................................................................... 122
7.3.1. Creating Notification Methods........................................................................ 122
7.3.2. Receiving Notifications................................................................................... 123
7.3.3. Redirecting Notifications ................................................................................ 123
7.3.4. Filtering Notifications ..................................................................................... 124
7.3.5. Deleting Notification Methods........................................................................ 124
7.4. Probes............................................................................................................................. 124
7.4.1. Managing Probes ............................................................................................ 125
7.4.2. Establishing Thresholds .................................................................................. 125
7.4.3. Monitoring the RHN Server............................................................................ 126
7.5. Troubleshooting ............................................................................................................. 126
7.5.1. Examining Probes with rhn-catalog .......................................................... 126
7.5.2. Viewing the output of rhn-runprobe........................................................... 127
A. Command Line Config Management Tools ............................................................................. 129
A.1. Red Hat Network Configuration Client .................................................................... 129
A.1.1. Listing Config Files........................................................................................ 129
A.1.2. Getting a Config File...................................................................................... 129
A.1.3. Viewing Config Channels .............................................................................. 129
A.1.4. Differentiating between Config Files ............................................................. 130
A.1.5. Verifying Config Files.................................................................................... 130
A.2. Red Hat Network Configuration Manager ............................................................... 130
A.2.1. Creating a Config Channel............................................................................. 131
A.2.2. Adding Files to a Config Channel.................................................................. 131
A.2.3. Differentiating between Latest Config Files .................................................. 132
A.2.4. Differentiating between Various Versions...................................................... 132
A.2.5. Downloading All Files in a Channel.............................................................. 133
A.2.6. Getting the Contents of a File ........................................................................ 133
A.2.7. Listing All Files in a Channel ........................................................................ 133
A.2.8. Listing All Config Channels .......................................................................... 134
A.2.9. Removing a File from a Channel ................................................................... 134
A.2.10. Deleting a Config Channel........................................................................... 134
A.2.11. Determining the Number of File Revisions ................................................. 134
A.2.12. Updating a File in a Channel........................................................................ 135
A.2.13. Uploading Multiple Files at Once................................................................ 135
B. RHN API Access......................................................................................................................... 137
B.1. Using the auth Class and Getting the Session ............................................................... 137
B.2. Obtaining the system_id................................................................................................ 137
B.3. Determining the sid ....................................................................................................... 137
B.4. Viewing the cid.............................................................................................................. 137
B.5. Getting the sgid ............................................................................................................. 138
B.6. Sample API Script......................................................................................................... 138