Re: Debugging SNMP

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGYiQLfSmjPvdD_zNo4=dKE+NEm1qyBQSVWqPpX51J5HPg@mail.gmail.com>
On 26 October 2012 12:16, Sverre Moe <[email protected]> wrote:
> The first scalar group I tried to register got value 0(MIB_REGISTERED_OK).
>
> All the others got value -1(MIB_REGISTRATION_FAILED or
>                  MIB_DUPLICATE_REGISTRATION).

Do the other groups use the same "root" OID as the first registration,
or do they all use different roots?

The usual cause of a duplicate registration would be having two
invocations of netsnmp_register_xxx() with the same root OID
(i.e. the third/fourth parameters to the
netsnmp_create_handler_registration call)

If that's not the case, it's probably worth posting the full code
of the block used to register these groups.


Dave

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
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.