Werk #18474: Ignore login banner for mk_db2 on AIX

Component Checks & agents
Title Ignore login banner for mk_db2 on AIX
Date Sep 8, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p40 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

You might be affected by this Werk if you use the mk_db2 agent plugin on AIX.

mk_db2.aix use a login shell since Werk #17480. This means that anything written to stdout in /etc/profile will be part of the db2 sections. This of course will crash the check as the checks do not expect random data included in their sections.

This Werk now applies some redirecting to remove the welcome message.

To the list of all Werks