[AGENT++] OID view requirements

multisnmp multisnmp at gmail.com
Wed Jan 29 20:44:46 CET 2014


Thank you. Also in the example agent there is a global MibTableSizePolicy
object that is passed to the register_policy() method to register with the
MIB. Why is the object global? If I have multiple agents, should I create
separate MibTableSizePolicy objects or can they share the same policy
object?

Thank you for your assistance.


On Fri, Jan 24, 2014 at 5:23 PM, Jochen Katz <katz at agentpp.com> wrote:

> Hi,
>
> it will not be a problem if you grant more access rights to the users.
>
> Regards,
>   Jochen
>
>
> Am 23.01.2014 12:58, schrieb multisnmp:
> > In the example agents, there are views attributed to specific OID
> subtrees
> > (see below). Are these restrictions required for all agents or are there
> > any issues setting less restrictive view permissions (everything below
> '1"
> > is read/write)?
> >
> > // org
> >         vacm->addNewView("newView", "1.3", "",
> >                          view_included, storageType_nonVolatile);
> > // dod
> >         vacm->addNewView("testView", "1.3.6", "",
> >                          view_included, storageType_nonVolatile);
> > // internet
> >         vacm->addNewView("internet", "1.3.6.1","",
> >                          view_included, storageType_nonVolatile);
> > // system
> >         vacm->addNewView("restricted", "1.3.6.1.2.1.1","",
> >                          view_included, storageType_nonVolatile);
> > // snmp
> >         vacm->addNewView("restricted", "1.3.6.1.2.1.11","",
> >                          view_included, storageType_nonVolatile);
> > // snmpEngine
> >         vacm->addNewView("restricted", "1.3.6.1.6.3.10.2.1","",
> >                          view_included, storageType_nonVolatile);
> > // snmpMPDStats
> >         vacm->addNewView("restricted", "1.3.6.1.6.3.11.2.1","",
> >                          view_included, storageType_nonVolatile);
> > // usmStats
> >         vacm->addNewView("restricted", "1.3.6.1.6.3.15.1.1","",
> >                          view_included, storageType_nonVolatile);
> >
> > Thank you for your assistance.
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> https://s16675406.onlinehome-server.info/mailman/listinfo/agentpp
>


More information about the AGENTPP mailing list