Show Table of Contents
Chapter 12. Monitoring
RHUI Manager can display information about the state of the Red Hat Update Infrastructure installation in several different ways. The most human-readable information is available in the Synchronization Status and Scheduling screen, which is described in Chapter 10, Status and Scheduling. Status and monitoring information can also be obtained in a machine-readable state, for use with automated monitoring solutions such as Nagios.
Procedure 12.1. Monitoring the state of Red Hat Update Infrastructure
- To retrieve an exit code that provides a summary of the current state of the Red Hat Update Infrastructure, run the
rhui-managercommand from the shell prompt with thestatuscommand, andechothe result to standard output:$ rhui-manager --username admin --password admin status $ echo $? 0
This command should be automated to suit your individual requirements.Note
It is recommended that this command always be used with the--usernameand--passwordswitches specified, in order to bypass the authentication certificate and avoid the command failing due to expired credentials. - An exit status of
0indicates that the Red Hat Update Infrastructure is running correctly. Any other value indicates that there has been an error.
Log Files
~/.rhui/rhui.logRHUI Manager logs/var/log/pulp/pulp.logRHUA logsNote
Thepulp.logfile is automatically written to a new enumerated log file when the base file reaches 1MB in size. The most recent four versions are kept in addition to the currently written file./var/log/pulp/grinder.logPackage synchronization outputNote
Thegrinder.logfile is automatically written to a new enumerated log file when the base file reaches 1MB in size. The most recent four versions are kept in addition to the currently written file./var/log/pulp-cds/gofer.logThegofer.logfile is located on CDS instances, and logs information about errors related to the CDS function./var/log/gofer/agent.logTheagent.logfile is located on CDS instances, and logs information about communication errors. This file contains information about whether the CDS instance was able to successfully connect to the Qpid broker running on the RHUA.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.