These settings would make your squid respond to your snmpmanager if its IP
was 192.168.0.1 and was not a multi-homed machine with the community name
public in the squid.conf file.
acl snmpmanager src 192.168.0.1
acl snmppublic snmp_community public
snmp_port 3401
snmp_access allow snmppublic snmpmanager
snmp_access deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 0.0.0.0
An excellent site with good examples on setting up MRTG can be found here.
http://www.psychofx.com/chris/unix/mrtg/
Hope that helps.
-----Original Message-----
From: adek [mailto:kenlapz@indosat.net.id]
Sent: October 26, 2000 12:07 AM
To: squid-users@ircache.net
Cc: squid-users@ircache.net
Subject: [SQU] Setting Mrtg for squid
Hello,
I had try a few times to set Mrtg to monitor my squid usage, but it always
failed, is there any changes that i should made in the snmpd.conf and in
the the squid.conf. Im using squid 2.2 stables and Mrtg 2.8.12.
This is some part of my squid.conf :
snmp_port 3401
forward_snmpd_port 0
snmp_mib_path /etc/mib.txt < the squid can't recognize this
command line.
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
I had download the latest mib.txt from squid-cache.org site. But it doesnt
work too. I hope someone who had success setting the mrtg for squid
could help me to set it in my server too.
My regards,
Adek
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.html -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Fri Oct 27 2000 - 18:48:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:01 MST