このセクションでは、メトリック ファミリとベンダー認定の 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 ファイルの作成時に役立てることができます。
このベンダー認定で MIB オブジェクト属性を定義するデータ タイプを含む、ProcessInfoVCForEmpireMIB.xml ファイルの一部の例。
<Attribute name="INDEX" type="ObjectID">
<!--This variable serves as the index for the other variables in the same MIB table.-->
<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">
<!--Real memory (resident set) size of the process in kilobytes. This value indicates how many bytes are held by a process.-->
<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>The process ID for the process in the OS.</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>The total amount of real system memory allocated to this process, in kilobytes.</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.
|
|