Subagent context question

Frank Fock Frank.Fock____t-online.de
Fri Feb 15 20:04:35 CET 2002


Hi Mike,

If you do not have the SNMP-COMMUNITY-MIB configured
appropriate, then you will have to use SNMPv3 to access objects
in an non-default context. Use the "-cn" option to specify the context
name with the SNMP++ console examples.

Best regards,
Frank

everythingsfree____another.com wrote:

> I didn't get any folow up to my last post so I've carried on but am still stumped by the master and subagent example and how to get the information from it.
>
> There's a line of code in the master agent that adds 'an empty context, so a subagent can register its objects within this context' which is called "subagent" and then in the subagent code it adds 'a static table to the "subagent" context'.
>
> How/what would be a suitable invocation of snmpGet to obtain some information from that table?
>
> e.g. snmpGet 127.0.0.1 1.3.6.1.4.1.4976.6.1.1.2.224 (which just returns 'Variable does not exist')
>
> I can get the other information that's not in the table easily enough.
>
> e.g. snmpGet 127.0.0.1 1.3.6.1.4.1.4976.6.1.2.0 (which returns a value)
>
> Cheers,
> Mike
>
> ----------
> Get a free, personalised email address at http://another.com
> TXT ALRT! Stop wasting money now. Send FREE, personalised txt
> msgs to UK mobile phones from http://another.com







More information about the AGENTPP mailing list