Appendix A Tools and Man Pages
This appendix describes the various tools and man pages that are available
in the System Management Agent.
Tools and Utilities Configuration File
In the System Management Agent, as in the standard Net-SNMP implementation, configuration
of the available tools and utilities is done through the snmp.conf configuration
file. The snmp.conf configuration file is located at /etc/sma/snmp/.
Before modifying the snmp.conf configuration file,
read Configuration Files and Scripts.
Ensure also that you read the snmp_config(4) and snmp.conf(4) man pages in that order.
The snmp.conf configuration file supports the directives
listed in the snmp.conf man page. If you store sensitive
information in this file, ensure that you set the permissions so that the
file is readable only by the user.
Man Pages
This
section lists all the man pages that are associated with the System Management Agent.
The man pages are listed in tables, which are organized by the type of content:
The following table lists man pages for general SNMP information.
Table A–1 Man Pages for General SNMP
Topics
|
Man Page
|
Description
|
|
netsnmp(5)
|
Gives an overview of the Net-SNMP implementation included in the Solaris
software. Also available as the sma_snmp(5) man
page.
|
|
snmpcmd(1M)
|
Describes the common options for Net-SNMP commands.
|
|
snmp_variables(4)
|
Discusses the format that must be used to specify variable names to
Net-SNMP commands.
|
The following table lists the man pages for Net-SNMP command tools.
Table A–2 Man Pages for SNMP Tools
|
Man page
|
Tool Description
|
|
mib2c(1M)
|
The mib2c tool uses nodes in a MIB definition file
to produce two C code template files to use as a basis for a MIB module.
|
|
snmpbulkget(1M)
|
The snmpbulkget utility is an SNMP application that
uses the SNMP GETBULK operation to send information to a network manager.
|
|
snmpbulkwalk(1M)
|
The snmpbulkwalk utility is an SNMP application that
uses SNMP GETBULK requests to query a network entity efficiently for a tree
of information.
|
|
snmpget(1M)
|
The snmpget utility is an SNMP application that uses
the SNMP GET request to query for information on a network entity.
|
|
snmpgetnext(1M)
|
The snmpgetnext utility is an SNMP application that
uses the SNMP GETNEXT request to query for information on a network entity.
|
|
snmpinform(1M)
|
The snmpinform command invokes the snmptrap utility,
which is an SNMP application that uses the SNMP TRAP operation to send information
to a network manager.
|
|
snmpnetstat(1M)
|
The snmpnetstat command symbolically displays the
values of various network-related information retrieved from a remote system
using the SNMP protocol.
|
|
snmpset(1M)
|
The snmpset utility is an SNMP application that uses
the SNMP SET request to set information on a network entity.
|
|
snmptrap(1M)
|
The snmptrap utility is an SNMP application that
uses the SNMP TRAP operation to send information to a network manager.
|
|
snmpusm(1M)
|
The snmpusm utility is an SNMP application that can
be used to do simple maintenance on an SNMP agent's User-based Security Module
(USM) table.
|
|
snmpvacm(1M)
|
The snmpvacm utility is a SNMP application that can
be used to do maintenance on an SNMP agent's View-based Access Control Module
(VACM) table.
|
|
snmpwalk(1M)
|
The snmpwalk utility is an SNMP application that
uses SNMP GETNEXT requests to query a network entity for a tree of information.
|
|
snmpdf(1M)
|
The snmpdf command is a networked version of the df command. snmpdft checks the disk space on
the remote machine by examining the HOST-RESOURCES-MIB's hrStorageTable or the UCD-SNMP-MIB's dskTable.
|
|
snmpdelta(1M)
|
The snmpdelta utility monitors the specified integer
valued OIDs. The utility reports changes over time.
|
|
snmptable(1m)
|
The snmptable utility is an SNMP application that
repeatedly uses the SNMP GETNEXT or GETBULK requests to query for information
on a network entity.
|
|
snmptest(1M)
|
The snmptest utility is a flexible SNMP application
that can monitor and manage information on a network entity. The utility uses
a command-line interpreter to enable you to send different types of SNMP requests
to target agents.
|
|
snmptranslate(1m)
|
The snmptranslate utility is an application that
translates one or more SNMP object identifier values from their symbolic,
textual forms into their numerical forms. The application also translates
one or more SNMP object identifier values from their numerical forms into
their symbolic, textual forms.
|
|
snmpstatus(1)
|
The snmpstatus command is an SNMP application that
retrieves several important statistics from a network entity.
|
The following table lists the man pages associated with configuration
files that are used by the Net-SNMP agent.
Table A–3 Man Pages for SNMP Configuration
Files
|
Man Page
|
Description
|
|
snmp_config(4)
|
Provides an overview of the Net-SNMP configuration files included with System Management Agent.
|
|
snmp.conf(4)
|
The file snmp.conf defines how the Net-SNMP applications
such as snmpget or snmpwalk operate.
|
|
snmpd.conf(4)
|
The file snmpd.conf defines how the Net-SNMP agent
operates.
|
|
snmptrapd.conf(4)
|
The file snmptrapd.conf defines how the Net-SNMP
trap-receiving daemon, snmptrapd, operates when the daemon
receives a trap.
|
|
snmpconf(1M)
|
The snmpconf utility is a script that asks you questions.
The script creates an snmpd.conf configuration file that
is based on your responses.
|
The following table lists the man pages for daemons that are associated
with Net-SNMP.
Table A–4 Man Pages for SNMP Daemons
|
Man Page
|
Description
|
|
snmpd(1M)
|
The snmpd daemon is the SNMP agent. The daemon binds
to a port and awaits requests from SNMP management software.
|
|
snmptrapd(1M)
|
The snmptrapd daemon is an SNMP application that
receives and logs SNMP TRAP and INFORM messages.
|
Table A–5 Man Pages for Migration
Scripts
|
Man Page
|
Description
|
|
masfcnv(1M)
|
The masfcnv migration script can be used to help
you migrate an existing set of configuration files for Sun SNMP Management Agent for Sun Fire and Netra Systems to the SMA.
|