> I have a binary that is collecting stats from this agent on port 1161
> and another running on port 161. I figured this may be because both
> the agents use default context, so to the agent with the above config
> I tried adding context based on an earlier e-mail thread as below.

If you have two agents on the same machine you can use contexts to
attach them to a single port, but not just by changing the snmpd.conf
file.  You'd need to:

1) run the second agent as a sub-agent to the first (on port 161) if the
   second agent supports running as agentX instead (which it will if
   you're using our agent).  The second agent will need to register it's
   information using a non-default context.

2) Keep one agent running on both ports and "proxy" to the second agent
   from the first using a context.  This is discussed in the proxy
   section of the snmpd.conf manual page.

-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to