[mrtg] Re: question about using SNMPWALK
sato
sato at grandsphere.com
Fri Jun 1 18:02:01 MEST 2001
You can check out man page
SNMPWALK(1) SNMPWALK(1)
NAME
snmpwalk - communicates with a network entity using SNMP
GET Next Requests.
SYNOPSIS
snmpwalk [common arguments] [-C APPOPTS] [objectID]
DESCRIPTION
Snmpwalk is an SNMP application that uses GET NEXT
Requests to query for a tree of information about a net-
work entity.
A variable may also be given on the command line. This
variable specifies which portion of the object identifier
space will be searched using GET NEXT Requests. All vari-
ables in the subtree below the given variable are queried
and their values presented to the user. Each variable
name is given in the format specified in variables(5).
If the "objectID" argument is not present, snmpwalk will
search MIB-2.
For example
snmpwalk zeus public system
will retrieve all of the variables under system:
system.sysDescr.0 = "SunOS zeus.net.cmu.edu 4.1.3_U1 1
sun4m"
system.sysObjectID.0 = OID: enterprises.hp.nm.hpsys-
tem.10.1.1
system.sysUpTime.0 = Timeticks: (155274552) 17 days,
23:19:05
system.sysContact.0 = ""
system.sysName.0 = "zeus.net.cmu.edu"
: If the tree search causes attempts to search beyond the
end of the MIB, a message will be displayed:
End of MIB.
OPTIONS
In addition to the arguments defined in the snmpcmd(1)
manual page, the following options are supported as well:
-Ci Includes the requested oid in the search range.
Normally snmpwalk uses getnexts starting with the
oid you request and returns all results in the MIB
tree below the one you requested. Sometimes, you
may wish to include the OID specified on the com-
mand line in the printed results if it is a valid
OID in the tree itself. This option lets you do
this.
-Cp Upon completion, snmpwalk will print the number of
variables found during the walk.
SEE ALSO
snmpcmd(1), variables(5).
18 Dec 1999 1
(END)
----- Original Message -----
From: "Payman N" <payman99 at usa.net>
To: <mrtg at list.ee.ethz.ch>
Sent: Saturday, June 02, 2001 12:58 AM
Subject: [mrtg] question about using SNMPWALK
>
> Hi
>
> Is there any way I can force MRTG to use my own snmpwalk or snmpget
instead of
> MRTG's. I need to use UCD-SNMP application for this purpose and am
wondering
> how to do that.
>
> Payman
>
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.amexmail.com/?A=1
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list