Werk #8357: Avoid exception in case of missing agent configuration
Component | Agent bakery |
Title | Avoid exception in case of missing agent configuration |
Date | Nov 30, 2015 |
Checkmk Edition | Checkmk Enterprise (CEE) |
Checkmk Version | 1.2.7i4 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
This fixes the following Exception:
Failed to process configuration:
Traceback (most recent call last):
File "/omd/sites/urz/share/check_mk/web/plugins/wato/agent_bakery.py", line 1574, in mode_agents
html.write(describe_agent_configuration(aghash))
File "/omd/sites/urz/share/check_mk/web/plugins/wato/agent_bakery.py", line 1612, in describe_agent_configuration
conf = eval(file(defaults.var_dir + "/agents/linux_rpm/_PACKAGES/%s.conf" % aghash).read())