SNMP4J: Which SNMP4J Jar should be used to write a SNMP agent?

312 views Asked by At

I am new to SNMP agent implementation. A confusion regarding the usage of SNMP4J API is, which SNMP4J Api should be used to create the agent? Should it be SNMP4J or SNMP4J-Agent?

1

There are 1 answers

5
Alexandre Fenyo On BEST ANSWER

An agent is some kind of server: it mainly replies to requests (it may occasionally also send traps to managers).

A manager is a some kind of client: it mainly send requests to agents (it may occasionally also receive traps from managers).

  • SNMP4J is the library for managers to send requests to remote agents.
  • SNMP4J-Agent is the library for agents to reply to requests.

So, to write a SNMP agent, you need to use SNMP4J-Agent jar file.