[SNMP4J] MOScope question
Frank Fock
fock at agentpp.com
Tue Jul 1 22:46:43 CEST 2008
Hello Jeff,
Scalars have to be registered with an .0 instance
identifier. Thus, try 1.2.3.4.5.1.0 and
1.2.3.4.5.2.0 and there will be no duplicate
registration error. The scope is a range
of OIDs with a lower and upper bound (exclusive
or inclusive).
Best regards,
Frank
Jeff Ramin wrote:
>
> Hello again folks.
>
> Could somebody please explain the concept of scope when it comes
> to managed objects? I seem to be missing some vital information.
>
> I'm using the DefaultMOServer to register MOScalars. I register one
> object w/ an OID of 1.2.3.4.5.1 and then try to register another
> object with 1.2.3.4.5.2, at which point I get a DuplicateRegistration
> exception.
>
> What am I missing? How to I specify that the scope of the first managed
> object is its particular OID and not a range?
>
> Thanks!
>
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list