Skip to content

Script to list Red Hat Satellite 6 hosts with services that need restarting

License

Notifications You must be signed in to change notification settings

benformosa/sat6-traces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sat6-traces

List all Red Hat Satellite 6 hosts with services that need restarting

What the script does

Gets the number of services needing restarting for all hosts registered to Satellite.

Service details are generated by Tracer. Refer to Satellite 6.3 Feature Overview: Tracer for details on enabling Tracer on hosts.

Requirements

Tested from RHEL 7.5 against Satellite 6.3.2.

Usage

./sat6-traces.py

Example Output

system_id,name,traces
2,host.example.com,20

Configuration file

Server, username and password are loaded from a Hammer CLI configuration file. The default path for the configuration file is ~/.hammer/cli_config.yml.

./sat6-traces.py [-f path/to/config.yml]

About

Script to list Red Hat Satellite 6 hosts with services that need restarting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages