Werk #22780: db2_bp_hitratios: show DB2 errors
| Component | Checks & agents | ||||||
| Title | db2_bp_hitratios: show DB2 errors | ||||||
| Date | Oct 19, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
If DB2 answered the buffer pool query of a database with an error
message instead of the hit ratio table, e.g. SQL20249N The statement
was not processed because the package named ... needs to be
explicitly rebound., the service discovery created a bogus
DB2 BP-Hitratios service from the words of that message, and the
check crashed with KeyError or ValueError.
No services are discovered from such an error message any more.
Existing DB2 BP-Hitratios services of the affected database now go
UNKNOWN and show the DB2 error message.