Ok... from what you explained, when I register a new instance of a MIB I
have to specify the context in which I want it to be accessible. But, how
can I announce this "new" context to the management system? How can I say
that there is a new sensor?

Thanks for the prompt answer! ;)

On Thu, Jan 22, 2009 at 3:20 PM, Dave Shield <[email protected]>wrote:

> 2009/1/22 Zé Flash <[email protected]>:
> > Is it possible to have multiple instances of the same MIB registered in
> an agent?
>
> Yes.
> But obviously, there needs to be some way for the manager to specify
> *which* version of the MIB they are querying.
>
> One approach would be for the various devices to register individual
> rows within a table.
>
> Alternatively, the devices could register their information using a
> "context" string.   This could then be used (directly with SNMPv3,
> or via the community string for SNMPv1/2c) to specify which device
> to query.
>
> See the FAQ entry
>  http://www.net-snmp.org/wiki/index.php/FAQ:Agent_15
>      for more info.
>
>
>
> > Has described above I was thinking of creating a master/subagent
> topology,
> > but it seems that this is not compatible with what I want to do.
>
> AgentX will support contexts.
>
> Dave
>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to