Created
February 3, 2016 20:03
-
-
Save talwai/203d3cecdacba3dbd54d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /opt/datadog-agent/agent/checks.d/openstack.py 2016-02-01 11:12:37.000000000 -0500 | |
+++ /opt/datadog-agent/agent/checks.d/openstack_patch.py 2016-02-03 14:49:22.000000000 -0500 | |
@@ -281,7 +281,7 @@ | |
nova_version = nova_api_version or DEFAULT_NOVA_API_VERSION | |
catalog = json_resp.get('token', {}).get('catalog', []) | |
- nova_match = 'novav21' if nova_version == 'v2.1' else 'nova' | |
+ nova_match = 'nova' | |
for entry in catalog: | |
if entry['name'] == nova_match: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apply this patch, to point the Datadog
openstack
check to an endpoint listed undernova
in your catalog. On the machine running theopenstack
check do:and to verify: