2009/5/26 kusuma.bm <[email protected]>:
> but i am not reading the snmpd.conf file. i am making use of Net-snmp
> 5.4.2.1 as my agent and have created  the v2c community. I am giving the
> subtree as .1.3  for the vacm_parse_view() in vacm_vars.c . Even this is not
> working. So anywhere in the code i can configure like this?


Even if you're not intending to use a configuration file - I'd still suggest
that you start with this approach initially.   Take a normal agent
(perhaps running on a different system), and craft a config file that
meets your requirements.

Then take that config file, and use it to draw up a list of the individual
config parsing routines to call, that will reproduce the same setup.

So in this case:
>     view    subtree13   included   .1.3
>     rocommunity  public   default   -V subtree13

would be handled by calling
      'vacm_parse_view'
and
      'vacm_parse_rocommunity'

passing the same token/config lines as above.

Dave

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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

Reply via email to