On 05/04/07, Senthil Nathan <[EMAIL PROTECTED]> wrote:
> Is it possible , to make the Index as read write.
Not really, no.
In fact, you wouldn't normally make an index object accessible
at all - it ought to be "not-accessible".
> for your reference,i have given my MIB definition.
> UserLoginEntry ::= SEQUENCE {
> userName OCTET STRING,
> userPwd OCTET STRING
> }
If userName is the index, then walking the userPwd column
would automatically give you both this password *and* the
username (in the OID).
What problem are you trying to address by making the
index object writeable?
> Another could you specify any example for the string used as index.
Sorry - it's not clear exactly what you're asking here.
Given your MIB fragment, you'd request an individual entry
using something like:
snmpget .... userPwd.\"dave\"
or
snmpget .... userPwd.4.100.97.118.101
If that's not what you mean, you'll have to be a bit more explicit.
Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders