[rrd-users] Re: Multiple SNMP OIDs in a single request?
Mike Wright
mike at auckland-services.freeserve.co.uk
Tue Jan 18 18:46:11 MET 2000
At 10:38 AM 1/18/00 -0600, you wrote:
>Does RRDtool and/or any of the front ends provision for the ability to
>request and recieve multiple OIDs in a single SNMP request?
I don't know how the front ends do it, but it is definately possible to get
several OIDs with a single SNMP request. Here is an example of a single
SNMP GET request which will return three values.
#!/usr/bin/perl
use SNMP_util;
($name,$loc,$desc) = &snmpget("public\@10.1.1.1", "sysName", "sysLocation",
"sysDescr");
print "$name,$loc,$desc\n";
Does anyone know what the limit is on the number of OIDs you can request at
one time? Is is related to the maximum size of the UDP packet?
Cheers,
Mike
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
More information about the rrd-users
mailing list