On 25 October 2012 07:50, Sverre Moe <sve...@spacetec.no> wrote:
> The file system scenario was the closest example I could think of.
> The device I am creating a MIB file for has ALOT of parameters
> which is organized in a hierarchy must like a file system. Each node
> in the path can have a few scalars(parameters), but most of them
> are at the end of a path (a subsystem).

Typically how deep is this hierarchy?
How meaningful are the individual names?
How _long_ are the individual names?


> My application running against a test system created a MIB file with almost 
> 5000 scalars and aprox 500 groups.
>
> According to the SMIv2 (RFC 2578) descriptor names must be unique and 
> mnemonic. Using a hash is not exactly very mnemonic.

You could always try a combination of both names and hash values.
Given a path such as
       /one/two/three/four/five/six/seven/node

possibilities for the final MIB object name might include:

     {hash}-node                    (hash of directory path)
     one-{hash}-node             (use root in full)
     six-seven-{hash}-node   (use selected directories in full)
     ottffss-{hash}-node         (use initials of directories)
     ottff-six-seven-{hash}-node   (use initials plus selected directories)
     one-ttffs-seven-{hash}-node   (ditto)

In each case, the hash would be probably be calculated over
"/one/two/three/four/five/six/seven" in order to keep related scalars together.

You know what the path heirarchy actually looks like,
so are best positioned to decide which elements are best
taken in full, which can be taken using initials, and which
omitted altogether.
   But that should give you some ideas to work with.

Dave

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to