Werk #16417 · Apr 3, 24
Add Configuration Option 'checkmkAgentTimeout'
The machine-sections-collector executes a version of the 'check_mk_agent' to collect information about the host. Sometimes this script takes more than five seconds, which causes the following traceback.
File "/usr/local/lib/python3.10/subprocess.py", line 1935, in _wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command '['/usr/local/bin/check_mk_agent']' timed out after 5 seconds
If you encounter this error, you can configure a longer timeout via the new option 'nodeCollector.machineSectionsCollector.checkmkAgentTimeout' in the 'values.yaml' configuration file.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Node Collector
- Versions:
- 2.0.0-alpha.1Not yet released
- 1.6.0