Werk #12235: Permissions issues for DB2 Linux agent plugin
| Component | Checks & agents | ||||||
| Title | Permissions issues for DB2 Linux agent plugin | ||||||
| Date | Feb 24, 2021 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
The Linux agent plugin for monitoring DB2 instances (mk_db2) had a permissions issue when being deployed via the agent bakery. The plugin tried to call itself as a DB2 instance user, however, the directory where the plugin is located requires root permissions.
For this fix to come into effect, users have to re-bake and update the Linux agent for all affected systems. In order to achieve a proper re-baking, users should first deactivate the rule for deploying the agent plugin, then re-bake, then activate the rule again and re-bake again.