Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Net-SNMP CPAN distribution.

Report information
The Basics
Id: 84200
Status: new
Priority: 0/
Queue: Net-SNMP

Owner: Nobody in particular
Requestors: vgavara [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: FIXED: Error calling get_entries when startindex=0
Date: Mon, 25 Mar 2013 18:00:22 +0100
To: bug-Net-SNMP [...]
From: Vicente Gavara <vgavara [...]>
Download (untitled) / with headers
text/plain 1016b
Hi all. I'm dealing with a snmp managed device that uses zero based tables (with entries indexed from 0 to 33). If I call get_entries stating the startindex argument to 0 I get this error: The OBJECT IDENTIFIER value "." is expected in dotted decimal notation Note that there's a dot after the number 22. However the error is not present if we omit startindex or we set it to 1, though in both cases we're not unable to get info from the table index 0. After testing and being almost ready for submitting a bug, I've set startindex in dotted notation ('0.0') instead of using a decimal value (0) and works!!!. Though I suspect that zero based tables are not SNMP standard compliant I think it would be useful covering this matter and how to solve it in the module documentation. Thanks for your great job. PS: I'm using the last module release (6.0.1) and I'm pretty sure that the release 5.04.03 supported zero based tables without the need of setting startindex in dotted notation.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to