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

From: Indunil Jayasooriya <indunil75@dont-contact.us>
Date: Fri, 1 Feb 2008 08:32:13 +0530

> 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

This is what I use.

 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

and perform below commands.

[root@mail ~]# snmpwalk -m /etc/squid/mib.txt -v2c -c public
localhost:3401 .1.3.6.1.4.1.3495.1.1
SQUID-MIB::cacheSysVMsize.0 = INTEGER: 1692
SQUID-MIB::cacheSysStorage.0 = INTEGER: 37860
SQUID-MIB::cacheUptime.0 = Timeticks: (913871) 2:32:18.71

and

[root@mail ~]# snmpwalk -v2c -c public localhost:3401
.1.3.6.1.4.1.3495.1.1 SNMPv2-SMI:: enterprises.3495.1.1.1.0 = INTEGER:
1696
SNMPv2-SMI::enterprises.3495.1.1.2.0 = INTEGER: 37860
SNMPv2-SMI::enterprises.3495.1.1.3.0 = Timeticks: (914781) 2:32:27.81

-- 
Thank you
Indunil Jayasooriya
Received on Thu Jan 31 2008 - 20:02:18 MST

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