Skip to main content

IBM Z HMC OS Message Forwarder

Version on Pypi Test status (master) Docs status (master) Test coverage (master)

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.5 and higher
  • HMC versions: 2.11.1 and higher

Quickstart

  • Install the forwarder and all of its Python dependencies as follows:

    $ pip install zhmc-os-forwarder
    
  • 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zhmc_os_forwarder-1.0.0.tar.gz (71.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zhmc_os_forwarder-1.0.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file zhmc_os_forwarder-1.0.0.tar.gz.

File metadata

  • Download URL: zhmc_os_forwarder-1.0.0.tar.gz
  • Upload date:
  • Size: 71.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for zhmc_os_forwarder-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6c19c76a4d83a23d3719cfcc52b750b5fc578ad1f234ebca4fa05a8c0e682adc
MD5 3aecdf0e8af1e635586f6ed61fc75010
BLAKE2b-256 62b6273374148734180689ddbe838963876ea435bc7e9d71306ff64b6545fa65

See more details on using hashes here.

File details

Details for the file zhmc_os_forwarder-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for zhmc_os_forwarder-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4c42b93deae1e494eab216c93742580f6b2eaa28b8819d8c4036b39a1443cda
MD5 4f1daa6d3783d6af4dff93bb4378097d
BLAKE2b-256 c75e979a6a186751c0cbf449bb2092e60efc8745a610c1bae90ee916e836a970

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.0

2 files

1.1.0

2 files

1.0.1

2 files

This release

1.0.0 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page