[SNMP4J] specifying community name in an agent

Jeff Ramin ramin at berbee.com
Thu Jul 24 20:25:38 CEST 2008


Hi folks.

I've written an agent (embedded within an application) based on the
SampleAgent that you get with the snmp4j-agent code.

This agent uses a property file for configuring the agent (an MOInputFactory
is created using a PropertyMOInput object; the MOInputFactory is then used
in the constructor of AgentConfigManager).

This is ok, except I want to be able to set some of those properties
programmatically. For example, the community name for the agent.

Is there a way to use the property file for setting most parameters, but
overriding one or more after the fact?

Thanks!


-- 
Jeffrey Ramin
Berbee
ramin at berbee.com
608.298.1024



More information about the SNMP4J mailing list