- Red Hat Satellite 6
- Steps to extract a
csv reportcontaining information about the registered content-hosts with
Red Hat Satellite 6.
Steps to follow on Satellite 6.6 or newer
# hammer --csv --csv-separator ';' host list > content-hosts.csv
Login to satellite
web ui -->
Content Hosts --> Click on
Export on the top right of the page.
Steps to follow on Satellite 6.5 or older
- Install the
tfm-rubygem-hammer_cli_csv.noarchpackage on the
Red Hat Satelliteserver (Provided by the Red Hat Satellite repository).
# sudo yum install tfm-rubygem-hammer_cli_csv.noarch
- Run the hammer command to create a
# hammer csv content-hosts --export --file /tmp/reports.csv # hammer -u <<username>> -p <<password>> csv content-hosts --export --file content-hosts-export.csv --itemized-subscriptions --verbose --organization <<organization name>>
/tmp/reports.csv is the report file which gets generated after running the above command.
- The above command will provide information for all the registered content-hosts about the below parameters:
Name,Count,Organization,Environment,Content View,Host Collections,Virtual,Host,OS,Arch,Sockets,RAM,Cores,SLA,Products,Subscriptions
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.