Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Entities

The ADB architecture defines three levels of entities:

  • parents
  • childs
  • attributes

You must create entities in the following order:

  • create the parent before you add a child
  • create the child before you add an attribute.

Each entity must have a type, which you cannot change once created.

LevelEntityTypeValueNotes
1parentYNa parent is an independent item
2childYoptionala child is a component of its parent entity
3attributeYYan attribute is a component of its parent and child entities

Example

To measure the flow of traffic (by counting the number of incoming bytes, or InOctets) for a particular router:

  • the parent is a device
  • the child is an interface
  • the attribute is a counter.

You could define it as:

LevelEntityTypeValueName
1parentdevicerouter01
2childinterface1,Test networkSel1/1
3attributecounter1IF-MIB.ifHCInOctets

Level 1: parent

Parent types:

  • parent (generic)
  • device
  • user
  • report.

Level 2: child

Child types:

  • child (generic)
  • interface
  • ipsla
  • memory
  • processor
  • storage
  • system
  • temperature.

A child may optionally have a value in the format of index,[description]

E.g. a child, Fa0/1, may be assigned a value of 1,Link to server:

  • 1 is the ifIndex of the interface in ifTable
  • Link to server is the ifAlias.

Level 3: attribute

Attribute types:

TypeValueExample
countermust be 11
enumpositive integer,text (enumerated list)1,up 2,down
gaugescale: integer (positive to multiply, negative to divide)-2
integerpositive or negative whole number or 0100287
RTTpositive integer (microseconds)430
textup to 2000 charactersthe quick brown fox
timestampseconds since start of Unix epoch1406787487
uptimeseconds since status change13095

Virtual attributes

AKIPS doesn't poll virtual attributes but instead meaningfully interprets the data. E.g. ifutil is the in-rate divided by the interface speed.

Virtual attribute types:

Type Description

ifutil interface utilisation
ifrate interface bps
vutil utilisation
vnutil calculate used from free
vdiff difference x = a-b temp_f convert C to F