Werk #20202: mk_sap: Apply host prefix to logwatch piggyback host
| Component | Checks & agents | ||
| Title | mk_sap: Apply host prefix to logwatch piggyback host | ||
| Date | Sep 1, 2026 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Incompatible - Manual interaction might be required | ||
| Checkmk versions & editions |
|
The SAP agent can prepend a configurable host prefix to the piggyback host it builds from the SAP System ID, so that systems sharing an ID can be told apart. So far the prefix was applied only to the SAP performance metrics and not to the SAP log messages, so a system's metrics and its log messages ended up on two separate piggyback hosts. The prefix is now applied to the log messages as well, so that all data from one SAP system appears on a single piggyback host.
If you use the host prefix option, your SAP log services move to the prefixed host. The now obsolete services on the unprefixed host become stale and have to be removed manually.
Thanks to Simon Harms for the contribution.