Re: [squid-users] squid + snmp + mrtg help

From: <adam-s@dont-contact.us>
Date: Tue, 27 May 2003 06:19:25 -0700

On 27 May 2003 12:01:04 +0300, you wrote:
>SNMPv1_Session (remote host: "192.168.1.24" [192.168.1.24].161)

From the looks of this you've changed the HOST part of the example
config you posted but lefto out the port definition instead of putting
in Squid's port. I imagine if the port part of host:port is left out,
it defaults to 161. Squid does not require or use the SNMP agent
(which listens on 161) but instead uses it's own port (3401 is the
default or whatever you changed Squid to listen to). So change

cacheHttpAllSvcTime.5&cacheHttpAllSvcTime.5:public@192.168.1.24
to
cacheHttpAllSvcTime.5&cacheHttpAllSvcTime.5:public@192.168.1.24:3401
or whatever your Squid port is. Repeat for all lines of the config
file.

Also, in squid.conf did you set the snmp community string to public?
Since that is the global if not inter-galactic default, you might want
to change it to something unique since it's the password to access
your SNMP. More info on SNMP is in the FAQ:
http://www.squid-cache.org/Doc/FAQ/FAQ-18.html

hth,

adam
Received on Tue May 27 2003 - 07:26:19 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:05 MST