Replace deprecated snmp metrics

Change-Id: I9306afe72601baf87ca4767c15e719ec6d23dfe7
This commit is contained in:
Mehdi Abaakouk
2018-07-25 20:10:46 +02:00
committed by Mehdi Abaakouk (sileht)
parent 47e318ad6c
commit 8fd68396af
6 changed files with 96 additions and 9 deletions

View File

@@ -263,9 +263,9 @@ class GnocchiPublisher(publisher.ConfigPublisherBase):
archive_policy_default,
archive_policy_override,
plugin_manager))
except Exception as exc:
LOG.error("Failed to load resource due to error %s" %
exc)
except Exception:
LOG.error("Failed to load resource due to error",
exc_info=True)
return resource_defs, data.get("archive_policies", [])
def ensures_archives_policies(self):