Re: [squid-users] Squid SNMP Err: [Timeout: No Response from host], Squid 2.6-STABLE6

From: Serj A. Androsov <androsov@dont-contact.us>
Date: Thu, 31 Jan 2008 15:53:23 +0300

Additional info:

#tail /var/log/squid/cache.log
2008/01/31 15:51:11| Failed SNMP agent query from : 172.16.3.1.
2008/01/31 15:51:12| Failed SNMP agent query from : 172.16.3.1.
2008/01/31 15:51:13| Failed SNMP agent query from : 172.16.3.1.
2008/01/31 15:51:14| Failed SNMP agent query from : 172.16.3.1.

Serg A. Androsov пишет:
> Hello there,
>
> Squid 2.6-STABLE6
> CentOS 5 (2.6.18-8.el5xen #1 SMP x86_64 x86_64 x86_64 GNU/Linux)
>
> Trying to solve some trouble.
> I get " 172.16.3.1:3401" error.
>
> Here it is snmp config in squid.conf
> ...
> acl snmpbsu snmp_community xxxxxx
> acl admins <some_internal_subnet>
> snmp_port 3401
> snmp_access allow snmpbsu localhost
> snmp_access allow snmpbsu admins
> snmp_access deny all
> snmp_incoming_address 172.16.3.1 #here it is internal proxy interface.
> snmp_outgoing_address 255.255.255.255
> ...
>
> How it's trying (from localhost):
> #/usr/bin/snmpwalk -v 1 -m /etc/squid/mib.txt -c xxxxxx 172.16.3.1:3401
> .1.3.6.1.4.1.3495.1
> Timeout: No Response from 172.16.3.1:3401
> Also try to use version 2c protocol.
>
> SNMP is listening the port.
> [root@proxyv squid]# netstat -an | grep 3401
> udp 0 0 172.16.3.1:3401 0.0.0.0:*
>
>
> [root@proxyv squid]# /sbin/iptables -n -L
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
> RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source destination
> RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain RH-Firewall-1-INPUT (2 references)
> ...skipped
> ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:3401
> ...skipped
>
> also trying to stop iptables service
>
> Where am I wrong?
> -------
> Serj.
Received on Thu Jan 31 2008 - 05:53:49 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST