Update SNMP agent config
[barometer.git] / docker / ansible / roles / config_files / templates / snmp_agent.conf.j2
index 1157c4a..48bb709 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-#LoadPlugin snmp_agent
+LoadPlugin snmp_agent
+
 <Plugin snmp_agent>
 # Intel PMU MIB
   <Table "pmuTable">
     IndexOID "INTEL-PMU-MIB::pmuGroupIndex"
     <Data "pmuGroupDescr">
-      Instance true
+      <IndexKey>
+        Source "PluginInstance"
+      </IndexKey>
       Plugin "intel_pmu"
       OIDs "INTEL-PMU-MIB::pmuGroupDescr"
     </Data>
     IndexOID "INTEL-RDT-MIB::rdtGroupIndex"
     SizeOID "INTEL-RDT-MIB::rdtGroupNumber"
     <Data "rdtGroupDescr">
-      Instance true
+      <IndexKey>
+        Source "PluginInstance"
+      </IndexKey>
       Plugin "intel_rdt"
       OIDs "INTEL-RDT-MIB::rdtGroupDescr"
     </Data>
   <Table "mcelogTable">
     IndexOID "INTEL-MCELOG-MIB::memoryGroupIndex"
     <Data "memoryGroupDescr">
-      Instance true
+      <IndexKey>
+        Source "PluginInstance"
+      </IndexKey>
       Plugin "mcelog"
       OIDs "INTEL-MCELOG-MIB::memoryGroupDescr"
     </Data>
 # Hugepages
   <Table "hugepagesTable">
     <Data "hugepagesNode">
-      Instance true
+      <IndexKey>
+        Source "PluginInstance"
+      </IndexKey>
       Plugin "hugepages"
       OIDs "INTEL-HUGEPAGES-MIB::hugepagesNode"
     </Data>