version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SNMPSTATUS |
|
|
2 |
!!!SNMPSTATUS |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
SEE ALSO |
|
|
7 |
---- |
|
|
8 |
!!NAME |
|
|
9 |
|
|
|
10 |
|
|
|
11 |
snmpstatus - Retrieves important information from a network entity. |
|
|
12 |
!!SYNOPSIS |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
snmpstatus host [[community] |
|
|
16 |
!!DESCRIPTION |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
Snmpstatus is an SNMP application that retrieves several |
|
|
20 |
important statistics from a network entity. |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The ''host'' specification may be either a host name or |
|
|
24 |
an internet address specified in |
|
|
25 |
'' |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
The ''community'' specifies the community name for the |
|
|
29 |
transaction with the remote system. If this argument is not |
|
|
30 |
given, the community name will default to ''public |
|
|
31 |
.'' |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
The information returned is: |
|
|
35 |
|
|
|
36 |
|
|
|
37 |
The IP address of the entity. |
|
|
38 |
A textual description of the entity ''(sysDescr.0)'' |
|
|
39 |
The uptime of the entity ''(sysUpTime.0)'' |
|
|
40 |
The sum of received packets on all interfaces |
|
|
41 |
''(ifInUCastPkts.* + ifInNUCastPkts.*)'' |
|
|
42 |
The sum of transmitted packets on all interfaces |
|
|
43 |
''(ifOutUCastPkts.* + ifOutNUCastPkts.*)'' |
|
|
44 |
The number of IP input packets ''(ipInReceives.0)'' |
|
|
45 |
The number of IP output packets |
|
|
46 |
''(ipOutRequests.0)'' |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
For example |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
''snmpstatus netdev-kbox.cc.cmu.edu public'' |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
will produce output similar to the following: |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
''[[128.2.56.220]= |
|
|
59 |
'' |
|
|
60 |
IF recv/trans packets 262874/39867 | IP recv/trans packets |
|
|
61 |
31603/15805'' |
|
|
62 |
|
|
|
63 |
|
|
|
64 |
Snmpstatus also checks the operational status of all |
|
|
65 |
interfaces (ifOperStatus.*), and if it finds any that are |
|
|
66 |
not running, it will report in a manner similar to |
|
|
67 |
this: |
|
|
68 |
|
|
|
69 |
|
|
|
70 |
''2 interfaces are down!'' The ''host'' specification |
|
|
71 |
may be either a host name or an internet address specified |
|
|
72 |
in '' |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
The ''community'' specifies the community name for the |
|
|
76 |
transaction with the remote system. If none is given, the |
|
|
77 |
community name defaults to ''public .'' |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
If the network entity has an error processing the request |
|
|
81 |
packet, an error packet will be returned and a message will |
|
|
82 |
be shown, helping to pinpoint in what way the request was |
|
|
83 |
malformed. Snmpstatus will attempt to reform it's request to |
|
|
84 |
eliminate the malformed variable, but this variable will |
|
|
85 |
then be missing from the displayed data. |
|
|
86 |
!!SEE ALSO |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
RFC 1065, RFC 1066, RFC 1067 |
|
|
90 |
---- |