SNMP Foundations and Concepts
8-10 Express5800/ftServer: System Administrator’s Guide for the Linux Operating System
The Basic Net-SNMP Commands
These tools provide a basic set of features for exercising and managing objects using
a standard command syntax and core functionality:
NOTE
Although these commands are documented as user
commands (man (1)), you should treat SNMP utilities as
the administrative tools they are, and closely limit
privileges to execute these commands.
•
snmpwalk—This command uses SNMP GETNEXT requests to query a network
entity for a tree of information that maps the managed objects by object ID
hierarchically. See snmpwalk(1). While this can return much information, take care
not to use this command on a heavily loaded net, since it can add significantly to
traffic.
•
snmpget— This command queries a single SNMP object using an SNMP GET
request. See snmpget(1).
•
snmpgetnext— This command uses GETNEXT requests to query network entities
for information.
•
snmpgetbulk—This command uses the SNMP GETBULK request to query a
network entity for quantities of information. See snmpgetbulk(1).
•
snmpdf—This command replicates df command functionality on a
network-accessible drive. The snmpdf command checks disk space on the remote
machine by examining the system’s HOST-RESOURCES-MIB
hrStorageTable, or a UCD-SNMP-MIB's dskTable value. See snmpdf(1).
•
snmpstatus—This command queries a network entity to retrieve significant
information about a communicating object. See snmpstatus(1). The following
information is retrieved:
– The IP address of the entity.
– A textual description of the entity (sysDescr.0)
– The uptime of the entity's SNMP agent (sysUpTime.0)
– The sum of received packets on interfaces (ifInUCastPkts.*
+
ifInNUCastPkts.*)
– The sum of transmitted interface packets (ifOutUCastPkts.*
+
ifOutNUCastPkts.*)
– The number of IP input packets (ipInReceives.0)
– The number of IP output packets (ipOutRequests.0)
Comments to this Manuals