IBM Z HMC OS Message Forwarder
Project description
IBM Z HMC OS Message Forwarder
The IBM Z HMC OS Message Forwarder connects to the console of operating systems running in LPARs on Z systems and forwards the messages written by the operating systems in the LPARs to remote syslog servers.
The Z systems can be in classic or DPM operational mode.
The forwarder attempts to stay up as much as possible, for example it performs automatic session renewals with the HMC if the logon session expires, and it survives HMC reboots and automatically resumes forwarding again once the HMC come back up, without loosing or duplicating any messages.
Documentation
Supported environments
- Operating systems: Linux, macOS, Windows
- Python versions: 3.8 and higher
- HMC versions: 2.11.1 and higher
Quickstart
-
If not yet available, install the "pipx" command as described in https://pipx.pypa.io/stable/installation/.
-
Without having any virtual Python environment active, install the log forwarder as follows:
$ pipx install zhmc-os-forwarder
That makes the
zhmc_os_forwardercommand available in the PATH, without having to activate any virtual Python environment. -
Provide a config file for use by the forwarder.
The config file tells the forwarder which HMC to use, and for which CPCs and LPARs it should forward to which syslog servers.
Download the Example forwarder config file and edit that copy according to your needs.
For details, see Forwarder config file.
-
Run the forwarder as follows:
$ zhmc_os_forwarder -c config.yaml zhmc_os_forwarder version: 0.2.0 zhmcclient version: 1.10.0 Verbosity level: 0 Opening session with HMC 10.11.12.13 (user: johndoe@us.ibm.com, certificate validation: False) Forwarder is up and running (Press Ctrl-C to shut down)
Limitations
At this point, the forwarder has several limitations. All of them are intended to be resolved in future releases.
- The forwarder does not recover from HMC restart or connection loss
- Restarting the forwarder will send again all OS messages the HMC has buffered
- New and deleted LPARs in DPM mode are not automatically detected.
Reporting issues
If you encounter a problem, please report it as an issue on GitHub.
License
This package is licensed under the Apache 2.0 License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zhmc_os_forwarder-1.1.0.tar.gz.
File metadata
- Download URL: zhmc_os_forwarder-1.1.0.tar.gz
- Upload date:
- Size: 74.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4a996f9aa837d89d5ab236b2d3416632821ae5c29cecf4a208e71c0b3029742
|
|
| MD5 |
64ea18f0348e5da9c31818676cdddf60
|
|
| BLAKE2b-256 |
9a609863363b1c3f0bc7a294134a8092924b145ad979b25d2df2590f8171fc85
|
Provenance
The following attestation bundles were made for zhmc_os_forwarder-1.1.0.tar.gz:
Publisher:
publish.yml on zhmcclient/zhmc-os-forwarder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zhmc_os_forwarder-1.1.0.tar.gz -
Subject digest:
a4a996f9aa837d89d5ab236b2d3416632821ae5c29cecf4a208e71c0b3029742 - Sigstore transparency entry: 229490519
- Sigstore integration time:
-
Permalink:
zhmcclient/zhmc-os-forwarder@1a4a90ebb817d913754abfdbac9ae6c205d2d719 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/zhmcclient
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a4a90ebb817d913754abfdbac9ae6c205d2d719 -
Trigger Event:
push
-
Statement type:
File details
Details for the file zhmc_os_forwarder-1.1.0-py3-none-any.whl.
File metadata
- Download URL: zhmc_os_forwarder-1.1.0-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d610055c1e85e3a6c9360e464968708469be4afee8bc626a045ddad1b752f0d0
|
|
| MD5 |
d7249ed60323dda1e65df037a3bbe4eb
|
|
| BLAKE2b-256 |
2e7b2d8271fc0b16123106529ac762a02bb3213124c84d826cce658fdd67adb7
|
Provenance
The following attestation bundles were made for zhmc_os_forwarder-1.1.0-py3-none-any.whl:
Publisher:
publish.yml on zhmcclient/zhmc-os-forwarder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zhmc_os_forwarder-1.1.0-py3-none-any.whl -
Subject digest:
d610055c1e85e3a6c9360e464968708469be4afee8bc626a045ddad1b752f0d0 - Sigstore transparency entry: 229490525
- Sigstore integration time:
-
Permalink:
zhmcclient/zhmc-os-forwarder@1a4a90ebb817d913754abfdbac9ae6c205d2d719 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/zhmcclient
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1a4a90ebb817d913754abfdbac9ae6c205d2d719 -
Trigger Event:
push
-
Statement type: