認證廠商 MIB 時,您必須從兩個以上的表格收集特定度量系列的原始資料。
CA Performance Management 提供需要存取多個 MIB 表格之廠商憑證的支援。 此支援是以單一表格憑證之 XML 文件結構的增強功能為基礎,允許使用通用索引鍵 (索引) 聯結從多個表格收集而來的資料。 繼續進行我們的範例,您只想要監控使用中的框架轉送 PVC。 修改 frPVCInfoCustom 自訂廠商憑證,以新增多個 MIB 表格支援。
在此範例中,可以使用 ifXTable 中的 ifName MIB 物件與可提供此 PVC 之資料連結連線識別碼 (DLCI) 的 frCircuitDlci 物件的組合,來命名框架轉送 PVC。 此種命名慣例很適合用於判斷 PVC 置於哪個框架轉送介面上。
修改自訂廠商憑證,以新增下列資訊:
以下範例顯示更新後的 frPVCInfoCustom 自訂廠商憑證外觀。 在此程序中進行的變更會以粗體表示:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Auto-generated by the type catalog local manager.-->
<DataModel namespace="http://im.ca.com/certifications/snmp" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SNMPCertificationFacet.xsd">
<FacetType name="frPVCInfoCustom" descriptorClass="com.ca.im.core.datamodel.certs.CertificationFacetDescriptorImpl">
<Documentation>Frame Relay PVC Vendor Certification</Documentation>
<FacetOf namespace="http://im.ca.com/core" name="Item" />
<AttributeGroup name="ifXTableGroup" external="true" list="true">
<Documentation>This pulls data from the ifXTable so that the ifName corresponding to the PVC can be referenced</Documentation>
<UseIndex>ifXIndexTag</UseIndex>
<Attribute name="ifXTableIndex" type="ObjectID">
<Documentation />
<IsKey>false</IsKey>
<IsIndex>true</IsIndex>
<Source>1.3.6.1.2.1.31.1.1.1.1</Source>
<Polled>false</Polled>
</Attribute>
<Attribute name="ifName" type="OctetString">
<Documentation />
<IsKey>false</IsKey>
<IsIndex>false</IsIndex>
<Source>1.3.6.1.2.1.31.1.1.1.1</Source>
<Polled>false</Polled>
</Attribute>
</AttributeGroup>
<IndexTagList>
<PrimaryTag>PVCIndexTag</PrimaryTag>
<IndexTag>
<Name>ifXIndexTag</Name>
<PrimaryKeyExpression>snmpOIDParser(INDEX,1,1)</PrimaryKeyExpression>
<ThisTagKeyExpression>ifXTableIndex</ThisTagKeyExpression>
</IndexTag>
</IndexTagList>
<AttributeGroup name="AttributeGroup" external="true" list="true">
<Documentation />
<UseIndex>PVCIndexTag</UseIndex>
<Attribute name="INDEX" type="ObjectID">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.4</Source>
<IsIndex>true</IsIndex>
<IsKey>false</IsKey>
<NeedsDelta>false</NeedsDelta>
</Attribute>
<Attribute name="frCircuitReceivedFECNs" type="Long">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.4</Source>
<IsIndex>false</IsIndex>
<IsKey>true</IsKey>
<NeedsDelta>true</NeedsDelta>
</Attribute>
<Attribute name="frCircuitReceivedBECNs" type="Long">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.5</Source>
<IsIndex>false</IsIndex>
<IsKey>true</IsKey>
<NeedsDelta>true</NeedsDelta>
</Attribute>
<Attribute name="frCircuitSentFrames" type="Long">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.6</Source>
<IsIndex>false</IsIndex>
<IsKey>true</IsKey>
<NeedsDelta>true</NeedsDelta>
</Attribute>
<Attribute name="frCircuitSentOctets" type="Long">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.6</Source>
<IsIndex>false</IsIndex>
<IsKey>true</IsKey>
<NeedsDelta>true</NeedsDelta>
</Attribute>
<Attribute name="frCircuitReceivedFrames" type="Long">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.8</Source>
<IsIndex>false</IsIndex>
<IsKey>true</IsKey>
<NeedsDelta>true</NeedsDelta>
</Attribute>
<Attribute name="frCircuitReceivedOctets" type="Long">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.9</Source>
<IsIndex>false</IsIndex>
<IsKey>true</IsKey>
<NeedsDelta>true</NeedsDelta>
</Attribute>
<Attribute name="frCircuitState" type="int">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.3</Source>
<IsIndex>false</IsIndex>
<IsKey>false</IsKey>
<NeedsDelta>false</NeedsDelta>
</Attribute>
<Attribute name="frCircuitDlci" type="int">
<Documentation />
<Source>1.3.6.1.2.1.10.32.2.1.2</Source>
<IsIndex>false</IsIndex>
<IsKey>false</IsKey>
<NeedsDelta>false</NeedsDelta>
</Attribute>
</AttributeGroup>
<Protocol>SNMP</Protocol>
<DisplayName>Frame Relay PVC Certification</DisplayName>
<Expressions>
<ExpressionGroup destCert="{http://im.ca.com/normalizer}frPVCInfo" name="frPVCInfoDS">
<Filter>(frCircuitState==2)</Filter>
<Expression destAttr="Indexes">INDEX</Expression>
<Expression destAttr="Names">isdef(ifName)? (isdef(frCircuitDlci) ? ifName + " DCLI:" + frCircuitDlci : "Frame Relay " + INDEX) : "Frame Relay " + INDEX</Expression>
<Expression destAttr="FECNIn">frCircuitReceivedFECNs</Expression>
<Expression destAttr="BECNIn">frCircuitReceivedBECNs</Expression>
<Expression destAttr="FramesIn">frCircuitReceivedFrames</Expression>
<Expression destAttr="FramesOut">frCircuitSentFrames</Expression>
<Expression destAttr="BytesIn">frCircuitReceivedOctets</Expression>
<Expression destAttr="BytesOut">frCircuitSentOctets</Expression>
<Expression destAttr="BitsIn">frCircuitReceivedOctets*8</Expression>
<Expression destAttr="BitsOut">frCircuitSentOctets*8</Expression>
</ExpressionGroup>
</Expressions>
<MIB>RFC1315-MIB</MIB>
</FacetType>
</DataModel>
我們假設在匯入自訂廠商憑證之後進行這些變更。 因此,在您進行變更後,更新廠商憑證。
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|