|
|
Using the Stats menu in the SNMP Agent Manager, you can view SNMP statistics generated by the snmpstat(1Msnmp) command. You can select:
This runs snmpstat to display active transport endpoints.
This runs snmpstat -t to view all active transport endpoints, including servers.
This runs snmpstat -r to view a table of available routes and their status.
This runs snmpstat -a to display address translations for remote hosts with which communications have recently occurred.
This runs snmpstat -i to view cumulative statistics regarding packets transferred, errors, and queue lengths.
This runs snmpstat -S to display input and output statistics of the SNMP agent.
These statistics displays will, by default, show system and network names. To show numbers instead, select Stats Display Mode numeric.
You can also view these statistics from the command line by
using snmpstat with the options shown above. Its complete
syntax is:
snmpstat [options] [node] [community]
If you specify a community, you must also specify a node name. If no community argument is specified, the default community of public is used.
The SNMP Agent Manager's main screen displays the current system group status. You can also display this information by using snmpstat(1Msnmp).
The following is an example of using snmpstat with the -s option to retrieve the system group.
snmpstat system group example
# snmpstat -s paris publicsnmpstat takes care of formatting the information in a way that is easier to understand. For example, snmpstat converts the raw clock ticks of the agent uptime into hours, minutes, seconds, and hundredths of a second.System Group Description: SNMPD Version 3.0 for SCO UNIX ObjectID: SCO.1.0 UpTime: 1 hour, 1 minute, 40 seconds, 95 hundredths Contact: Trevor Jones x256 Name: paris.cities.mynet.com Location: First Floor Computer Room Services: applications, end-to-end
You can view a list of active endpoints by selecting Stats Active Endpoints in the SNMP Agent Manager.
The display shows:
You can see all active Internet connections for different services by selecting Stats Transport Table in the SNMP Agent Manager.
The display shows:
You can also use snmpstat(1Msnmp) with the -t option to view this information.
You can view the routing table by selecting Stats Routing Table in the SNMP Agent Manager.
The display shows:
In the example shown, five routes are shown for the system paris. Three of them are directly attached. These are the routes for loopback, the local system, and the cities subnet. Two others have been acquired by the RIP routing protocol from the host volga-cities.
You can also obtain this information by using snmpstat(1Msnmp) with the -r option.
You can view address translations of sites with which SNMP recently communicated. Select Stats Address Table in the SNMP Agent Manager.
The display shows:
You can also obtain this information by using snmpstat(1Msnmp) with the -a option.
You can view cumulative statistics for active interfaces. Select Stats Active Interfaces in the SNMP Agent Manager.
The display shows:
You can also obtain this information by using snmpstat(1Msnmp) with the -i option.
You can view all SNMP objects by selecting Stats SNMP Statistics in the SNMP Agent Manager.
You can also obtain this information by using snmpstat(1Msnmp) with the -S option.