[SNMP4J] TableListener for Interfaces Group GETBULK

Keary Parinis kpc7335e at yahoo.com
Thu Dec 28 13:24:18 CET 2006


Thanks for the quick reply.  The ifAdminStatus for most of the interfaces not showing in/out traffic are up.  I'm curious why I don't get any anything from the interface if my request includes in/out traffic OIDs.  If I only request other OIDs (ifAdminStatus, ifOperStatus) I get the interfaces.  When i include in/out traffic I get much fewer rows returned to my implementation of the TableListener.   If there is no in/out traffic why don't those columns show up as null and still give me other OID info that I requested?

KE

Binu Raghavan <binu at nmsworks.co.in> wrote: It could be because the  snmp agent on the device is not maintaining
in/out traffic stats for interfaces for which the ifAdminStatus is down.

On Thu, 2006-12-28 at 02:57 -0800, Keary Parinis wrote:
> Hi,
>    
>   I am running into an issue reading router information from the interface group.  What I am trying to accomplish is to read router interface index, admin status, oper status, and in/out traffic for a router with a table that implements the TableListener interface.  I am using SNMP GETBULK requests to get the values of various OIDs in the interface group.  When I attempt to get the interface index, admin status, and oper status for all interfaces I get all the interfaces OK.  When I try to get in/out traffic it leaves out rows for some reason.  I imagine it does this because that particular interface may not have in/out traffic data (just a guess).  I set up two different table listeners for the same router's interface group and get a much lower number of rows for table that gets in/out traffic.  It seems that it only does this with routers that use tunneling.  The program works fine for my routers that only  have serial point to point circuits.  I'm not sure why this is
>  happenning.  Any ideas?  Thanks.
>  
> K E
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j





More information about the SNMP4J mailing list