Disable check metrics for OpenStack resource polling
These metrics are already provided by simple API http checks
Change-Id: I585f30c30ab8593b31dd4c3d7d64d45c4ee46e38
diff --git a/collectd/files/plugin/hypervisor_stats.py b/collectd/files/plugin/hypervisor_stats.py
index 9b61e3c..3e8b8fa 100644
--- a/collectd/files/plugin/hypervisor_stats.py
+++ b/collectd/files/plugin/hypervisor_stats.py
@@ -138,7 +138,8 @@
'values': v,
}
-plugin = HypervisorStatsPlugin(collectd, PLUGIN_NAME)
+plugin = HypervisorStatsPlugin(collectd, PLUGIN_NAME,
+ disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_cinder.py b/collectd/files/plugin/openstack_cinder.py
index 880e082..38ebab4 100644
--- a/collectd/files/plugin/openstack_cinder.py
+++ b/collectd/files/plugin/openstack_cinder.py
@@ -88,7 +88,7 @@
}
-plugin = CinderStatsPlugin(collectd, PLUGIN_NAME)
+plugin = CinderStatsPlugin(collectd, PLUGIN_NAME, disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_cinder_services.py b/collectd/files/plugin/openstack_cinder_services.py
index df08f28..56d5ad7 100644
--- a/collectd/files/plugin/openstack_cinder_services.py
+++ b/collectd/files/plugin/openstack_cinder_services.py
@@ -74,7 +74,8 @@
}
-plugin = CinderServiceStatsPlugin(collectd, PLUGIN_NAME)
+plugin = CinderServiceStatsPlugin(collectd, PLUGIN_NAME,
+ disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_glance.py b/collectd/files/plugin/openstack_glance.py
index f2e45ab..4886967 100644
--- a/collectd/files/plugin/openstack_glance.py
+++ b/collectd/files/plugin/openstack_glance.py
@@ -83,7 +83,7 @@
'meta': {'visibility': visibility, 'status': status},
}
-plugin = GlanceStatsPlugin(collectd, PLUGIN_NAME)
+plugin = GlanceStatsPlugin(collectd, PLUGIN_NAME, disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_keystone.py b/collectd/files/plugin/openstack_keystone.py
index e631baf..cbd4e4d 100644
--- a/collectd/files/plugin/openstack_keystone.py
+++ b/collectd/files/plugin/openstack_keystone.py
@@ -80,7 +80,8 @@
'values': len(roles),
}
-plugin = KeystoneStatsPlugin(collectd, PLUGIN_NAME)
+plugin = KeystoneStatsPlugin(collectd, PLUGIN_NAME,
+ disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_neutron.py b/collectd/files/plugin/openstack_neutron.py
index 69d7f9e..a9ccff0 100644
--- a/collectd/files/plugin/openstack_neutron.py
+++ b/collectd/files/plugin/openstack_neutron.py
@@ -110,7 +110,7 @@
yield {'type_instance': 'floatingips', 'values': len(routers)}
-plugin = NeutronStatsPlugin(collectd, PLUGIN_NAME)
+plugin = NeutronStatsPlugin(collectd, PLUGIN_NAME, disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_neutron_agents.py b/collectd/files/plugin/openstack_neutron_agents.py
index 6116055..3ae5ed7 100644
--- a/collectd/files/plugin/openstack_neutron_agents.py
+++ b/collectd/files/plugin/openstack_neutron_agents.py
@@ -77,7 +77,8 @@
}
-plugin = NeutronAgentStatsPlugin(collectd, PLUGIN_NAME)
+plugin = NeutronAgentStatsPlugin(collectd, PLUGIN_NAME,
+ disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_nova.py b/collectd/files/plugin/openstack_nova.py
index 8cdd57d..4f8f1a8 100644
--- a/collectd/files/plugin/openstack_nova.py
+++ b/collectd/files/plugin/openstack_nova.py
@@ -51,7 +51,8 @@
}
-plugin = NovaInstanceStatsPlugin(collectd, PLUGIN_NAME)
+plugin = NovaInstanceStatsPlugin(collectd, PLUGIN_NAME,
+ disable_check_metric=True)
def config_callback(conf):
diff --git a/collectd/files/plugin/openstack_nova_services.py b/collectd/files/plugin/openstack_nova_services.py
index 774c28c..c9f84eb 100644
--- a/collectd/files/plugin/openstack_nova_services.py
+++ b/collectd/files/plugin/openstack_nova_services.py
@@ -79,7 +79,8 @@
}
-plugin = NovaServiceStatsPlugin(collectd, PLUGIN_NAME)
+plugin = NovaServiceStatsPlugin(collectd, PLUGIN_NAME,
+ disable_check_metric=True)
def config_callback(conf):