本部分提供了有关在度量标准系列和供应商认证 XML 文件中使用数据类型的指南。
要访问轮询 OID,而不是轮询的返回值,请使用 ObjectID 类型。
在供应商认证中,数值通常存储为整数类型或 Long 类型。 度量标准系列通常使用 Double 类型。
Data Aggregator 支持轮询 64 位计数器,从而支持为高速接口收集数据。 随着网络介质速度的增加,32 位计数器完成计数所需的最短时间将会缩短。 使用 64 位计数器会延长计数器完成计数所花的时间并能够以正常的速率轮询。 MIB2 中的 ifxTable 提供了 64 位计数器,对于供应商认证来说,它通常存储为 BigInteger 类型。 度量标准系列通常使用 Double 类型。
在供应商认证中,字符串值存储为字符串类型。 度量标准系列使用 OctetString 类型。
在度量标准系列中,针对 FacetTypes 属性使用的特殊类型。
注意:CA 性能管理 提供的架构文件详细介绍了类型信息。 在创建 XML 文件期间,了解架构的 XML 编辑器(如 XML 记事本)会使用此信息,并可为您提供帮助。
ProcessInfoVCForEmpireMIB.xml 部分文件的示例,其中具有定义此供应商认证中 MIB 对象属性的数据类型
<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">
<!--进程的实际内存(驻留集)大小 (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>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>
|
版权所有 © 2014 CA Technologies。
保留所有权利。
|
|