But I want to access the object as
"privete(4).enterprise(1).abc(16142).newyork(3).machine(1).app(id).noOfMessa
gesPending(1)" not like
"privete(4).enterprise(1).abc(16142).newyork(3).machine(1).noOfMessagesPendi
ng(1). app(id)" leaf node should be noOfMessagesPending(1).

regards
Prakash

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Thursday, February 11, 2010 4:27 PM
To: PrakashRaju Meka
Cc: [email protected]
Subject: Re: Defining MIB

On 11 February 2010 10:53, Prakash <[email protected]> wrote:
> There are many instances of apps and each instance have unique id which is
> dynamically created
> question Is how to create dynamic oid's instead of defining statically in
a
> MIB.

Use a MIB table.
Presumably the information held about each app is consistant?
(i.e. always the number of messages pending and sent).

In which case, a table is the natural structure to use.
You've already got a unique application ID, so that would be
the natural index for the table.

Dave


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to