Merge pull request #247 from Tonsofattraction/patch-2

parse host comment from config;
This commit is contained in:
Alexey Lavrenuke 2016-07-22 19:03:17 +03:00 committed by GitHub
commit a85894b4d1

View File

@ -74,7 +74,7 @@ class MonitoringCollector(object):
"timestamp": ts,
"data": {
agent.host: {
"comment": "test",
"comment": agent.config.get("comment", ""),
"metrics": prepared_results
}
}