[rrd-users] Re: retrieving bulkstats and maxrepetitions

Rainer Bawidamann Rainer.Bawidamann at rz.uni-ulm.de
Mon Jul 10 17:44:04 MEST 2000

In article <Pine.GSO.4.21.0007091501470.15896-100000 at benjy.onvoy.com>,
	bradley at onvoy.com (Bradley Urberg Carlson) writes:

> If I don't specify "maxrepetitions", I get no data; if I specify a number
> smaller than the number of interfaces
> (like 500), then I only get data for 500 subinterfaces.  If a specify a
> number larger than the number of interfaces (like 1000), then 
> my SNMP session errorstring is set to "Encoded message length not equal to
> remaining data length", and again, no data.

Two suggestions: 1000 snmp variables might not fit into one SNMP packet
(udp). Try increasing the "MTU" setting of Net::SNMP.

> Is anyone successfully using bulkstats to retrieve in/out octets? If so,
> do you need to know the exact number of interfaces in order to use
> bulkstats?

I never used it but the exact number of interfaces is IF-MIB:ifNumber or

If you cannot query all interfaces with in one query you can get the
oids for the query of the remaining interfaces from the response: use
the oids of the last oid in the response.

Bye ... Rainer

PS: Could you please tell me how you solved the problem?
PPS: There is a newsgroup "comp.protocols.snmp" where you could find
     more help
Rainer.Bawidmann at rz.uni-ulm.de

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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list