Red Hat Training
A Red Hat training course is available for Red Hat Satellite
Chapter 8. Generating Red Hat Satellite Reports
This chapter is designed to help you generate reports from Red Hat Satellite.
Red Hat Satellite contains a number of command-line reports:
channel-packages
- Packages in channelschannels
- Channel reportcustom-info
- Display system custom infoentitlements
- Entitlement and channel list and usageerrata-channels
- List of errata in channelserrata-list
- Errata information based upon compliance checks against systemserrata-list-all
- List of all errataserrata-systems
- Listing of each errata applicable to each affected systeminactive-systems
- Inactive systems in Satelliteinventory
- Inventory reportkickstartable-trees
- List of kickstartable treespackages-updates-all
- List of packages that can be upgradedpackages-updates-newest
- List of packages that can be upgradedscap-scan
- Results of OpenSCAP xccdf evaluationscap-scan-results
- Results of OpenSCAP xccdf evaluationsystem-crash-count
- Crash count for systemssystem-crash-details
- Crash details for systemssystem-currency
- System currency listsystem-groups
- System groups in Satellitesystem-groups-keys
- Activation keys for system groupssystem-groups-systems
- Systems in system groupssystem-groups-users
- System groups users reportsystem-history
- System event historysystem-history-channels
- Channel event historysystem-history-configuration
- Configuration event historysystem-history-entitlements
- System entitlement event historysystem-history-errata
- Errata event historysystem-history-kickstart
- Kickstart event historysystem-history-packages
- Package event historysystem-history-scap
- OpenSCAP event historysystem-packages-installed
- Packages installed on systemsusers
- Users in the systemusers-systems
- Systems administered by individual users
To generate a report, use the
spacewalk-report
command as follows:
# spacewalk-report report-name
This command generates the selected report as comma-separated value (CSV) output.
Note
The logging feature of Satellite is added by default in fresh installations of Satellite version 5.6 and later. If the Satellite is upgraded from a version below 5.6 the logging feature will be turned on at the time of upgrade and from that point all events will be audited.
This means that all users created before the upgrade will get logged from the time of upgrade. The past creation of a user and any past events will not appear in the log but all future events will be logged.
To more information, run the
spacewalk-report
command with the -h
option.