diff --git a/templates/915_service-snmp.yaml.tt2 b/templates/915_service-snmp.yaml.tt2 index 9844b83..b1304e7 100644 --- a/templates/915_service-snmp.yaml.tt2 +++ b/templates/915_service-snmp.yaml.tt2 @@ -22,8 +22,10 @@ command: - "/::cnAddress\\.\\d\\.\\d = /" - "/::cnRoleIndex\\.\\d\\.\\d = /" - "/::cnRole\\.\\d\\.\\d = /" +[% IF snmpagent.trees.collective_check == 'yes' -%] - "/::ngcpCollectiveCheckResult = /" - "/::ngcpCollectiveCheckOutput = /" +[% END -%] [% IF is_mgmt -%] - "/::ngcpClusterProvSubs = /" - "/::ngcpClusterRegSubs = /"