Search squid archive

Re: snmp error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amos,

Thanks for your kind response.I removed (snmp_incoming_address 0.0.0.0
 snmp_outgoing_address 0.0.0.0) from squid.conf and try to use
version2 in snmpwalk command, but i m getting same output.

Does it any specific bug or something related with snmp package
version or squid ?

Because i have another squid box which having fedora 15 in that i used
same configuration and it is working fine.But while using centos6 , i
m facing current problems.

Regards,
Benjamin



On Mon, Oct 24, 2011 at 9:07 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
> On 24/10/11 02:32, benjamin fernandis wrote:
>>
>> Hi,
>>
>> I am trying to configure snmp with.When i try to run snmpwalk command
>> for testing , i am getting erros in  cache.log.
>>
>> cache.log
>>
>>
>> 2011/10/24 00:30:48| snmp_core.cc(489) snmpDecodePacket: Failed SNMP
>> agent query from : 210.122.22.30:53441
>> 2011/10/24 00:30:49| snmp_core.cc(489) snmpDecodePacket: Failed SNMP
>> agent query from : 210.122.22.30:53441
>> 2011/10/24 00:30:50| snmp_core.cc(489) snmpDecodePacket: Failed SNMP
>> agent query from : 210.122.22.30:53441
>> 2011/10/24 00:30:51| snmp_core.cc(489) snmpDecodePacket: Failed SNMP
>> agent query from : 210.122.22.30:53441
>> 2011/10/24 00:30:52| snmp_core.cc(489) snmpDecodePacket: Failed SNMP
>> agent query from : 210.122.22.30:53441
>> 2011/10/24 00:30:53| snmp_core.cc(489) snmpDecodePacket: Failed SNMP
>> agent query from : 210.122.22.30:53441
>
> Strange. Possibly due to -v1 parameter being used. Try with -v2c instead and
> see if it still occurs.
>
>>
>> snmpwalk -m /usr/share/snmp/mibs/SQUID-MIB.txt -v1 -c public
>> localhost:3401 .1.3.6.1.4.1.3495.1.1
>> Timeout: No Response from localhost:3401
>>
>>
>> my squid.conf
>>
>> <snip>
>>
>> snmp_port 3401
>> acl snmppublic snmp_community public
>> snmp_access allow snmppublic localhost
>> snmp_access deny all
>> snmp_incoming_address 0.0.0.0
>> snmp_outgoing_address 0.0.0.0
>>
>> where could be the mistake?
>>
>
> http://www.squid-cache.org/Doc/config/snmp_outgoing_address/
>
> "NOTE, snmp_incoming_address and snmp_outgoing_address can not have
>        the same value since they both use port 3401."
>
> leading to "Timeout: No Response from localhost:3401"
>
> Solve this by removing the lines for both in and out addresses from your
> config. The defaults are fine.
>
> If you have to set the specific outgoing address for any reason, at least
> make sure it is an IP assigned to the box. Not zero.
>
>> squid version: 3.1.8
>> centos 6 64 bit
>> kernel: 2.6.32-71.el6.x86_64
>>
>> while i try to run : snmpwalk -v1 -c public localhost , it is working
>> fine.
>
> That walks the kernel. Not squid AFAIK.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE9 or 3.1.16
>  Beta testers wanted for 3.2.0.13
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux