snmptable
is an SNMP application that repeatedly uses the SNMP GETNEXT or
GETBULK requests to query for information on a network entity. The
parameter
TABLE-OID
must specify an SNMP table.
snmptable is an SNMP application that repeatedly uses the
SNMP GETNEXT or GETBULK requests to query for information
on a network entity. The parameter TABLE-OID must specify
an SNMP table.
AGENT identifies a target SNMP agent, which is instrumented
to monitor the gievn objects. At its simplest, the AGENT
specification will consist of a hostname or an IPv4
address. In this situation, the command will attempt
communication with the agent, using UDP/IPv4 to port 161
of the given target host. See
snmpcmd(1)
for a full list of
the possible formats for AGENT.
OPTIONS
COMMON OPTIONS
Please see
snmpcmd(1)
for a list of possible values for COMMON OPTIONS
as well as their descriptions.
-Cb
Display only a brief heading. Any common prefix of the table field
names will be deleted.
-CB
Do not use GETBULK requests to retrieve data, only GETNEXT.
-Cc CHARS
Print table in columns of
CHARS
characters width.
-Cf STRING
The string
STRING
is used to separate table columns. With this option, each table entry
will be printed in compact form, just with the string given to
separate the columns (useful if you want to import it into a
database). Otherwise it is printed in nicely aligned columns.
-Ch
Display
only
the column headings.
-CH
Do not display the column headings.
-Ci
This option prepends the index of the entry to all printed lines.
-Cl
Left justify the data in each column.
-Cr REPEATERS
For GETBULK requests,
REPEATERS
specifies the max-repeaters value to use. For GETNEXT requests,
REPEATERS
specifies the number of entries to retrieve at a time.
-Cw WIDTH
Specifies the width of the lines when the table is printed.
If the lines will be longer, the table will be printed in sections of
at most
WIDTH
characters. If
WIDTH
is less than the length of the contents of
a single column, then that single column will still be printed.