[SNMP4J] Response value type contained wrong error for scalar nodes
Frank Fock
fock at agentpp.com
Tue Sep 4 22:59:04 CEST 2007
Hi Nidhin,
You can replace the isLowerIncluded method in MOScalar by:
public boolean isLowerIncluded() {
return true;
}
to fix this issue, if you think it is a bug.
Best regards,
Frank
nidhin wrote:
> Hi,
>
> Any comments on this?
>
> Regards
> Nidhin
>
> nidhin <nidhingj at yahoo.com> wrote:
> Hi,
>
> While testing the latest snmp4j agent jar, I could notice the following error:
>
> Test Name: Gettest2
> # Description:
> # This test checks the agents ability to handle invalid object identifiers
> # while processing Get requests. A Get request is sent for each attribute
> # in walk.out (values returned in the "get variables to test" phase) after
> # removing the last subid from the attribute id. An SNMPv1 agent is expected
> # to respond with a NO_SUCH_NAME error, while a SNMPv2C agent is expected to
> # respond back with a noSuchInstance value if the instance component is
> # missing, or a noSuchObject value for an invalid attribute id.
>
> ############################################################################
> # Test Results: (1)The response value type in the varbind
> # (NoSuchObject) contained error other than
> # NoSuchInstance.
> # Test Rating: POOR
> # Message Exchange:
> #
> # (Fri Aug 31 15:32:00 2007):
> # Get Request: Version = SNMPv2c, Community = public
> # Request Id = 2, Error Status = No Error , Error Index = 0
> # Oid1 = sysDescr , Type = NULL, Value = NULL
> #
> # (Fri Aug 31 15:32:00 2007):
> # Response: Version = SNMPv2c, Community = public
> # Request Id = 2, Error Status = No Error , Error Index = 0
> # Oid1 = sysDescr , Type = NoSuchObject, Value = NULL
> ############################################################################
>
>
>
> Could anyone please confirm if this is an error in SNMP4j agent or not? This response happens for Scalar nodes only.
>
> Thanks in advance
> Nidhin
>
> ---------------------------------
> Pinpoint customers who are looking for what you sell.
>
>
> ---------------------------------
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list