Add contrail_ifmap_age collectd configuration
Closes-Bug: PROD-15501
Change-Id: I76c5949c8abfcfd68188d24d595451d86e5b4284
diff --git a/opencontrail/files/collectd_contrail_ifmap_age.conf b/opencontrail/files/collectd_contrail_ifmap_age.conf
new file mode 100644
index 0000000..50b7a18
--- /dev/null
+++ b/opencontrail/files/collectd_contrail_ifmap_age.conf
@@ -0,0 +1,6 @@
+
+Import "collectd_contrail_ifmap_age"
+
+<Module "collectd_contrail_ifmap_age">
+ DisableCheckMetric "true"
+</Module>
diff --git a/opencontrail/meta/collectd.yml b/opencontrail/meta/collectd.yml
index 482a70f..fd5deb9 100644
--- a/opencontrail/meta/collectd.yml
+++ b/opencontrail/meta/collectd.yml
@@ -6,6 +6,11 @@
plugin: python
template: opencontrail/files/collectd_contrail_ifmap_elements_count.conf
{%- endif %}
+ {%- if config.get('enabled', False) %}
+ contrail_ifmap_age:
+ plugin: python
+ template: opencontrail/files/collectd_contrail_ifmap_age.conf
+ {%- endif %}
{%- if database.get('cassandra', False) %}
collectd_cassandra_jmx:
plugin: java