[AGENT++] help on creating simple agent.
Jochen Katz
katz at agentpp.com
Thu Feb 10 20:24:25 CET 2011
Hello,
> In my app I'll need a couple of integers (counters for various
> transactions and transactions per second) to be read-only accessed for
> managers.
> Would it be enough to create a number of classes derived from MibLeaf
> with overriding get_request to retrieve my values?
yes.
> And how to forbid the agent to respond to snmp queries that come
> without passphrase?
This has to be done with the VACM. Have a look at the calls to
vacm->addNewAccessEntry.
Regards,
Jochen
More information about the AGENTPP
mailing list