[SNMP4J] Re: Different restult with different maxRepetitons

Maximilian Butterer maximilian at butterer.de
Fri Jun 1 08:18:40 CEST 2007


hi there,

you can look on the page of snmp4j
http://snmp4j.org
i guess there is the source code of a base agent 
free and ready for download. that was the first step i did,
after that you need the MIB Browser (configure the ports and ip addresses)
and than first steps are done

greets


> Hi Everyone !
> I am trying to make a demo to test SNMP4J.
> If anyone who could give me  an exanple for GET/SET/TRAP(snmpv1) ???
> 
> Best regards
> Huiyi.Liang
> 
> On 5/23/07, Frank Fock <fock at agentpp.com> wrote:
> >
> > Hi Daniel,
> >
> > If it works better by specifying the table OID instead
> > of the columns then there is something totally wrong.
> > I guess that some of the agents cannot handle the PDU
> > size, GETBULK with many columns, lexicographic ordering,
> > etc.
> >
> > Best regards,
> > Frank
> >
> > Daniel Gyorfi wrote:
> > > Hi all!
> > >
> > > I found that the result looks OK if I only give the getTable the oid
> > > of the table, instead of all the oids of the column objects.
> > > But still if you think I should know something useful, please let me
> > know.
> > >
> > > Thanks,
> > >
> > > On 22/05/07, Daniel Gyorfi <gd425 at hszk.bme.hu> wrote:
> > >> Hi all, Hi Frank!
> > >>
> > >> I'm using the library's getDenseTable and getTable methods to get
> > >> values from a table.
> > >> I'm testing it on different switches and they return different
> results
> > >> (not the values, but e.g. rows with "null") on the same mib table.
> > >>
> > >> I tried to configure the getTable with the maxRepetitions value and
> > >> found out that the result is different with different maxRepetitions.
> > >> With 6 is good, but with 10 (which is also used in SnmpRequest i
> > >> think) is return the table with lots of "null" rows, but it still
> > >> depends on the type of the switch.
> > >>
> > >> Can you give a verbose advice about when to use getTable and
> > >> getDenseTable and about how to use their maxRepetitions.
> > >>
> > >> Many Thanks,
> > >> Daniel
> > >>
> > >> PS: I know that maxRep is used by GETBULK, and how that works.
> > >>
> > >> --
> > >> Daniel Gyorfi
> > >> xn--gyrfidniel-x4a35k
> > >>
> > >>
> > >> --
> > >> Daniel Gyorfi
> > >> xn--gyrfidniel-x4a35k
> > >>
> > >
> > >
> >
> > --
> > AGENT++
> > http://www.agentpp.com
> > http://www.mibexplorer.com
> > http://www.mibdesigner.com
> >
> > _______________________________________________
> > SNMP4J mailing list
> > SNMP4J at agentpp.org
> > http://lists.agentpp.org/mailman/listinfo/snmp4j
> >
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



More information about the SNMP4J mailing list