Hi,

I have the following issue.
I collect a certain MIB from an agentX sub agent, with a defined contextName.
In the same time, the rest of the MIB is available without contextName.

So I tried to establish following snmp daemon configuration so that a
single v2 community key be configured:

com2sec -Cn main main_secname default public
group grp_main v2c main_secname
group grp_main v1 main_secname

com2sec main_secname2 default public
group grp_main v1 main_secname2
group grp_main v2c main_secname2

access grp_main "" any noauth prefix _all_ _none_ _none_

As you can see, I defined a second security name for respectively MIB
defined with and without context.

The result is that a snmp walk returns me only the MIB registered with
"main" context, and not the remaining MIB.
The same idea has been done with classical rocommunity, without success neither.

view viewctxt  ...
view viewoutside   ...
rocommunity public default -V viewoutside
rocommunity public default -V viewctxt main

Any ideas what is missing, even if it is today doable ?
Thanks,
Regards,
Philippe


_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to