well first u define port 3401 which is not normal snmp port so u did
connection refused :-))
second first use snmpwalk rather please see squid FAQ page and find SNMP
setting there, u need to use MIB file also and to get a sample conf file
from that page.
With Regards
Ahsan Khan
Sr. System Admin
Internet Division (OneNet)
Sun Communication Pvt. Ltd.
http://www.one.net.pk
----- Original Message -----
From: "Stefan Berg" <stefan.berg@ausys.se>
To: <squid-users@ircache.net>
Sent: Wednesday, February 02, 2000 6:00 PM
Subject: *** SNMP help needed!!
>
> Hi,
>
> am trying to set up my squid for SNMP with MRTG.
>
> MRGT works just fine with my routers and hubs and stuff, but can't seem to
> connect to squid.
>
> What I've done is the following:
>
> 1) Configure with "./configure --enable-snmp"
> 2) set the following parameters:
> acl snmppublic snmp_community public
> snmp_access allow snmppublic all
> snmp_port 3401
> 3) restarted squid with "squid -k reconfigure".
>
> But, I still get "connection refused" when running MRTG.
>
> What is the problem here??
>
> Please help me out. Is there maybe a SNMP-howto/FAQ out there somewhere?
> Can't find one on the public squid homepage..
>
> /Stefan
>
Received on Wed Feb 02 2000 - 14:12:45 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:54 MST