项目作者: benformosa

项目描述 :
Script to list Red Hat Satellite 6 hosts with services that need restarting
高级语言: Python
项目地址: git://github.com/benformosa/sat6-traces.git
创建时间: 2018-09-13T09:58:29Z
项目社区:https://github.com/benformosa/sat6-traces

开源协议:GNU General Public License v3.0

下载


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

  1. ./sat6-traces.py

Example Output

  1. system_id,name,traces
  2. 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.

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