此區段提供度量系列及廠商憑證 XML 檔中資料類型使用的指引。
若要存取輪詢的 OID,而非輪詢的傳回值,請使用類型 ObjectID。
數值一般儲存於廠商憑證的類型 Integer 或 Long 中。 度量系列一般使用類型 Double。
Data Aggregator 支援輪詢 64 位元計數器,因此支援收集高速介面的資料。 網路媒體的速度增加時,32 位元計數器處理的時間下限將降低。 使用 64 位元計數器將使得計數器處理的時間延長,並且以正常速率進行輪詢。 MIB2 中的 ifxTable 提供 64 位元計數器,對於廠商憑證而言,這一般儲存於 BigInteger 類型中。 度量系列一般使用類型 Double。
字串值儲存於廠商憑證的類型 String 中。 度量系列使用類型 OctetString。
FacetTypes 屬性的度量系列中使用的特殊類型。
附註:CA Performance Management 提供的結構描述檔案有類型的詳細資訊。 XML Notepad 之類結構描述感知的 XML 編輯器使用這些資訊,在建立 XML 檔時相當有幫助。
例如 ProcessInfoVCForEmpireMIB.xml 檔中定義此廠商憑證的 MIB 物件所用的屬性
<Attribute name="INDEX" type="ObjectID">
<!--此變數做為相同 MIB 表格中其他變數的索引。-->
<IsKey>true</IsKey>
<IsIndex>true</IsIndex>
<Source>1.3.6.1.4.1.546.1.1.4.1.1</Source>
</Attribute>
<Attribute name="processID" type="Long">
<!--The unique process ID (e.g. 0).-->
<IsKey>true</IsKey>
<NeedsDelta>false</NeedsDelta>
<Source>1.3.6.1.4.1.546.1.1.4.1.1</Source>
</Attribute>
<Attribute name="processName" type="String">
<!--The name of the running process (e.g. syslogd).-->
<IsKey>true</IsKey>
<NeedsDelta>false</NeedsDelta>
<Source>1.3.6.1.4.1.546.1.1.4.1.2</Source>
</Attribute>
<Attribute name="processRSS" type="Long">
<!--程序的實際記憶體 (駐留集合) KB 數。 此值指示程序保留的位元組數。-->
<IsKey>false</IsKey>
<NeedsDelta>false</NeedsDelta>
<Source>1.3.6.1.4.1.546.1.1.4.1.11</Source>
</Attribute>
例如 ProcessInfoMFWithComponent.xml 檔案中定義此度量系列的度量屬性所用的資料類型
<Attribute>
<Name>{http://im.ca.com/normalizer}ProcessInfo.Indexes</Name>
<AttributeDisplayName>Indexes</AttributeDisplayName>
<Description></Description>
<Type>ObjectID</Type>
<WriteOnPoll>false</WriteOnPoll>
<Polled>false</Polled>
<IsList>true</IsList>
<IsDbColumn>false</IsDbColumn>
</Attribute>
<Attribute>
<Name>{http://im.ca.com/normalizer}ProcessInfo.PID</Name>
<AttributeDisplayName>PID</AttributeDisplayName>
<Description>作業系統中程序的程序 ID。</Description>
<Type>Integer</Type>
<WriteOnPoll>false</WriteOnPoll>
<Polled>false</Polled>
<IsList>true</IsList>
<IsDbColumn>false</IsDbColumn>
</Attribute>
<Attribute>
<Name>{http://im.ca.com/normalizer}ProcessInfo.Names</Name>
<AttributeDisplayName>Names</AttributeDisplayName>
<Description></Description>
<Type>String</Type>
<WriteOnPoll>false</WriteOnPoll>
<Polled>false</Polled>
<IsList>true</IsList>
<IsDbColumn>false</IsDbColumn>
</Attribute>
<Attribute>
<Name>{http://im.ca.com/normalizer}ProcessInfo.Memory</Name>
<AttributeDisplayName>Memory</AttributeDisplayName>
<Description>分配予此程序的實際系統記憶體總數,單位為 KB。</Description>
<Type>Double</Type>
<WriteOnPoll>false</WriteOnPoll>
<Polled>true</Polled>
<IsList>true</IsList>
<IsDbColumn>true</IsDbColumn>
<Baseline>true</Baseline>
<Maximum>true</Maximum>
<Minimum>true</Minimum>
<Variance>true</Variance>
<StandardDeviation>true</StandardDeviation>
<Percentile>95</Percentile>
<RollupStrategy>Avg</RollupStrategy>
</Attribute>
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|