Re: Not able to specify two different ports in agentaddress option of snmpd.conf file

Olivier Miakinen <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

Le 20/11/2013 04:10, Ashutosh Kumar a écrit :
> The error I am getting is :
> 
> getaddrinfo:  localhost Name or service not known
> Connection timed out.st", NULL, ...): Name or service not known
> Error opening specified endpoint " localhost:9061"
> Server Exiting with code 1
> 
> On Mon, Nov 18, 2013 at 12:54 PM, Ashutosh Kumar <[email protected]>wrote:
> 
>> [...]
>>
>> agentaddress  135,localhost:161

Maybe the localhost address is not defined in /etc/hosts?

A solution could be to replace 'localhost' by '127.0.0.1' in snmpd.conf:

agentaddress  135,127.0.0.1:161

Regards,
-- 
Olivier Miakinen

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.