[SNMP4J] Overwriting values for different rowIds

Hanish Bansal hanish.bansal.agarwal at gmail.com
Wed Aug 14 05:50:53 CEST 2013


I am using "rowid" term for row index. I have agent configured for snmp
table with two row indexes 111,222.

I am publishing info using OIDs .1.3.6.1.4.1.1.102.1.1.1.111 to
.1.3.6.1.4.1.1.102.1.1.2.111 where last digit(111) is row index. Then it
sets values for both rowindexes 111 and 222.


On Tue, Aug 13, 2013 at 7:29 PM, Frank Fock <fock at agentpp.com> wrote:

> Hi,
> I have problems to understand your term "rowid". SMI only knows a row
> index. May be here is the source of the problem located?
> Best regards,
> Frank
>
> Am 13.08.2013 um 08:08 schrieb Hanish Bansal <
> hanish.bansal.agarwal at gmail.com>:
>
> > Hi All,
> >
> > We are using SNMPv3 for publishing snmp parameters. We are publishing
> data
> > as snmp tables.
> >
> > I am facing an issue in below case:
> >
> > Multiple rowIDs for same component : When we are publishing parameters of
> > one component using different rowIds from same jvm process, every-time we
> > send a parameter using a rowId then it overwrite all columns value in
> that
> > table independent of rowID.
> > E.g. CPU is a component(MODULE_ID=102). All CPU parameters will be
> > published on 8001 port.
> > There will be multiple cpu cores on a machine then each cpu core's
> > parameters will be published using different rowID. All the rowids of all
> > the CPUs are set with the last sent value.
> >
> > I am using below maven dependency in my app:
> >
> >        <dependency>
> >            <groupId>org.snmp4j</groupId>
> >            <artifactId>snmp4j-agent</artifactId>
> >            <version>2.0.8</version>
> >        </dependency>
> >
> > Any suggestion will be helpful.
> >
> > Thanks in advance !!
> >
> > --
> > *Regards*
> > *Hanish Bansal*
> > _______________________________________________
> > SNMP4J mailing list
> > SNMP4J at agentpp.org
> > http://lists.agentpp.org/mailman/listinfo/snmp4j
>



-- 
*Thanks & Regards*
*Hanish Bansal*



More information about the SNMP4J mailing list