Re: SNMP table with index as string containing "dot"

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/5/8 jayesh km <[email protected]>:
> We need to implement an SNMP table which has two columns as indexes.
> Both these columns are strings and the difficult part in one can have "dot"
> within it (it is a diameter realm name).

No problem there.
The strings are treated as a sequence of ASCII characters.
The character '.' is handled in exactly the same way as any other.


> Sample row can be
> realmName         peerName
> 3gpp.org       |          hss

That would be indexed as
    8 . '3' . 'g' . 'p' . 'p' . '.' . 'o' . 'r' . 'g' . 3 .'h' . 's' . 's'


> I am not sure if SNMP permits indexes with "dots" in between.
> Is there anyway I can implement this.

Just implement it - everything should work fine.

Dave

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.