Werk #13477: Fetcher error if agent is run a non-root user
| Component | Checks & agents | ||
| Title | Fetcher error if agent is run a non-root user | ||
| Date | Dec 16, 2021 | ||
| Level | Trivial Change | ||
| Class | Bug Fix | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
When the agent was executed without the permission to write to ${MK_VARDIR} (/var/lib/check_mk_agent by default) the first line of the output would be an error message. This lead the fetcher to assume that the agent output must be encrypted. If encryption is disabled for the affeted host, the fetcher will fail.
This error message is now suppressed (unless the debug option -d is passed to the agent).