An attribute with the name INDEX and type ObjectID is mapped to the Indexes attribute of the target metric family. You can set the value for the Source tag to any variable OID. However, you typically use one of the variables that are listed in the INDEX clause of the table. For example, consider ifIndex in the interfaces table of MIB-2. This variable serves as the index for the other variables in the same MIB table. In addition, the IsIndex tag (and typically also the IsKey tag) for this attribute is set to true.
In this example, attributes such as ifDesc or ifType provide more configuration information on an interface. Therefore, these attributes are useful for the Names and Description attributes of the target metric family.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|