[AGENT++] OID view requirements

multisnmp multisnmp at gmail.com
Thu Jan 23 12:58:09 CET 2014


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.


More information about the AGENTPP mailing list