Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: On UNIX systems, you will have to run the agent with root privileges in order to be able to bind ports below 1024.

Code Block
languagebashnone
java -cp snmp4j-agentx-2.0.1.jar;snmp4j-agent-2.0.6.jar;snmp4j-2.1.jar org.snmp4j.agent.agentx.master.test.TestMasterAgent -X tcp:127.0.0.1/705 udp:0.0.0.0/161 

...

When the master agent is running, you can start the NET-SNMP subagent:

Code Block
languagebash
cd net-snmp-5.5/agent/
./snmpd --X 705 

...