On-Demand Table Builder

This page creates an on-demand table for an InterMapper custom SNMP probe. Enter the desired fields from the device's MIB below. The page will automatically generate the table declaration, so you can simply paste it into the probe file.

  1. Enter the name of the table to display:

     

  2. Enter the text between the braces of the SEQUENCE { ... } below:
  3. Paste the text below into the custom probe file to create an on-demand table.
  4. To display the on-demand table, enter ${tablename:text to be seen} in the <snmp-device-display> section of the probe.
  5. For more information, see the On-Demand Tables section of the Developer Guide.

The Custom Probe's TABLE declaration

Paste the text below into the probe file.

empty

Example: Creating a Table from ifTable

The ifTable if the IF-MIB shows the interfaces on a device. To create an on-demand table, you will need to review the MIB to find the table's definition.

Find the table's name (ifTable in the excerpt below), and the names for the columns of the table (everything between the { ... } in the ifEntry below). Paste those into the fields on this page, and you'll get the definition suitable for entry into the custom SNMP probe.

...
ifTable OBJECT-TYPE
SYNTAX SEQUENCE OF IfEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of interface entries. The number of
entries is given by the value of ifNumber."
::= { interfaces 2 }

ifEntry OBJECT-TYPE
SYNTAX IfEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An interface entry containing objects at the
subnetwork layer and below for a particular
interface."
INDEX { ifIndex }
::= { ifTable 1 }

IfEntry ::=
SEQUENCE {
ifIndex INTEGER,
ifDescr DisplayString,
ifType INTEGER,
ifMtu INTEGER,
ifSpeed Gauge,
ifPhysAddress PhysAddress,
ifAdminStatus INTEGER,
ifOperStatus INTEGER,
ifLastChange TimeTicks,
ifInOctets Counter,
ifInUcastPkts Counter,
ifInNUcastPkts Counter,
ifInDiscards Counter,
ifInErrors Counter,
ifInUnknownProtos Counter,
ifOutOctets Counter,
ifOutUcastPkts Counter,
ifOutNUcastPkts Counter,
ifOutDiscards Counter,
ifOutErrors Counter,
ifOutQLen Gauge,
ifSpecific OBJECT IDENTIFIER
}

 

On-demand Table Maker Version 1.0d3 — 30Jan2011

 


Other Related Resources: