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 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
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())