Unresolved hostname

2016-03-19 Thread Ruth Glushkin
Dear friends, please help.

I created four different agents for localhost with four different ports.

My config files look like:

rocommunity public
rwcommunity private
rocommunity silicom 127.0.0.1:1001 .1.3.6.1.4.1.15694


rocommunity public
rwcommunity private
rocommunity silicom 127.0.0.1:1002 .1.3.6.1.4.1.15694


etc.

but when I run agent(s), I got the following error:

cannot resolve source hostname


If I remove the port from config file and run agent, it works.

How could I set different ports for agents?
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: Unresolved hostname

2016-03-18 Thread Niels Baggesen
On Thu, Mar 17, 2016 at 01:03:07PM +0200, Ruth Glushkin wrote:
> but when I run agent(s), I got the following error:
> 
> cannot resolve source hostname
> 
> 
> If I remove the port from config file and run agent, it works.
> 
> How could I set different ports for agents?

You use the agentaddress parameter to set the IP address and port
number.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders