Search squid archive

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

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

 



> 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

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

  Powered by Linux