On 15 February 2010 11:11, Prakash <[email protected]> wrote:
> 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).

Then I can't advise you further.
The natural way to structure your data would be as a table.
But that _would_ involve OIDs of the form:

   ..... myAppTable().myAppEntry(1).noOfMessagesPending(1).{id}

(Note that "app(id)" would actually just be "id" - there's no name
associated with this subidentifier)

That's inherent in how SNMP works.
If you don't like that approach, then perhaps SNMP
is not the correct tool for you to use.

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