I have been learning SNMP and playing with SNMP4J sporadically for about two months ago. Here are my two cents. Feel free to add anymore information.
SNMP agent is a java implementation of net-snmp (see TestAgent). You would use it if you are writing an application that wants to serve SNMP requests on port 161 and fire informs/traps on port 162. SNMP agent X is a java implementation of net-snmp with agentX option turned on (see TestMasterAgent). It also provides an API to write subagents so you can talk to an agentX server (see TestSubAgent). You would use this if you want your application to delegate all SNMP handling to a central agentX service. SNMP4J is a client API to allow your appliation to programatically make SNMP queries to an agent or agentX. It also provides an API to fire informs/traps so that if your application does not care about giving out statistics on port 161 it can still send notifications out on 162 without having to open a listening socket. Hope this helps you. Jim Chan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of snmp girl Sent: Wednesday, April 16, 2008 4:21 AM To: [email protected] Subject: Re: [SNMP4J] snmp4j-agent yes , I know that the agent snmp send traps to the manager in case of errors but what's I mean is what offers you this api snmp4j . for exp with using the net-snmp you have to configure those manually with the snmptrap.conf and the snmp.conf. so what I want to know is where the snm4j-agent is used ? can anyone give a simple example? thanks 2008/4/16, lalit patel <[EMAIL PROTECTED]>: > > Hello > I think you should read a little bit about SNMP protocol. > SNMP manager interact with SNMP agent for having data stored in MIBs.Also > agent can send information to manager in case of any critical events > through SNMP traps > > With regard > lalit > > On Wed, Apr 16, 2008 at 3:06 PM, snmp girl <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > I want to know what's the snmp4j agent is for , I had already used the > > snmp4j and it helps me to send and receive traps . and also I send the > > get/set etc...., so I don't know where we can use the snmp4j agent > > > > thanks a lot > > _______________________________________________ > > SNMP4J mailing list > > [email protected] > > http://lists.agentpp.org/mailman/listinfo/snmp4j > > > > _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
