On Thu, 2006-01-19 at 13:53 -0800, Fong Tsui wrote:
> I have no problem to snmpget multiple OIDs, such as
> snmpget -c public localhost ifSpecific.6 sysUpTime.0
As documented in the man page:
$ man snmpget
NAME
snmpget - communicates with a network entity using
SNMP GET requests
SYNOPSIS
snmpget [COMMON OPTIONS] [-Cf] OID [OID]...
^^^^^^^^^
i.e. snmpget supports one or more OIDs to retrieve.
> However, if I snmpwalk on multiple tables,
Which is *NOT* as documented in the man page:
$ man snmpwalk
NAME
snmpwalk - retrieve a subtree of management
values using SNMP GETNEXT requests
SYNOPSIS
snmpwalk [APPLICATION OPTIONS] [COMMON OPTIONS] [OID]
^^^^^
i.e. snmpwalk supports a *single* (optional) OID, to retrieve
a single subtree.
> Is it supposed that way?
Yes. See the documentation.
> Is there anything I can do to make snmpwalk to able to work
> for multiple tables?
Run it twice.
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders