Template:FAQ:Agent 11

From Net-SNMP Wiki
Jump to: navigation, search

Yes, but there are a couple of things to be aware of.

Firstly, by default the AgentX master listens on the Unix domain socket '/var/agentx/master', which doesn't work under Windows. You'll need to tell it to listen on a TCP port, either by using the command-line option "-x tcp:localhost:705", or by adding the directive "agentxSocket tcp:localhost:705" to the snmpd.conf file.

Secondly, be aware that the security of AgentX connectivity is not particularly strong. The examples given here would allow any process running on the local machine to register as an AgentX subagent. The more obvious settings "-x 705" or "agentxSocket 705" would allow a system anywhere on the network (or even from remote networks) to register as an AgentX subagent. This could potentially be used to hijack the agent, or provide false information.