yeah You have to made following changes,,
For Squid.conf
-----------------
acl snmppublic snmp_community public
acl hack src 0.0.0.0/0.0.0.0
acl thishost src YOURNETWORK
acl localhost src YOURNETWORK
snmp_access allow snmppublic thishost
snmp_access allow snmppublic localhost
snmp_access deny hack
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 0.0.0.0
snmp_port 3401
Also You can get sample Config file from here.
http://ircache.nlanr.net/Cache/Statistics/mrtg/
Enjoy .:-)))
With Regards
Ahsan Khan
Sr. System Admin
Internet Division (OneNet)
Sun Communication Pvt. Ltd.
http://www.one.net.pk
----- Original Message -----
From: "Arslan Ghani" <arslanghani@usa.net>
To: "Ahsan Khan" <ahsank@one.net.pk>
Sent: Wednesday, January 26, 2000 10:45 PM
Subject: Re: [Re: Need your help...]
>
> Hi,
>
> Thanx 4 the reply...yes, I am from Pakistan and work for Orbit.
Actually,
> we are running squid on a SUN Solaris 2.6 based system. But I want to
> configure it for Intel x86 Based Solaris 2.6 system. I have got MRTG and
it is
> working properly for Sendmail and DNS but I am having problems with squid.
>
> 1. Which file shud I get from Squid FAQ page to run MRTG?
> 2. Am I supposed to make some changes in squid.conf file too?
>
> Thanx once again...:-)
>
> Regards,
> Arslan Ghani.
>
>
>
> "Ahsan Khan" <ahsank@one.net.pk> wrote:
> Hi,
>
> Its Great to listen from you Need Help No problem ,, Hum so u are also
> from Pakistan.. Which ISP..??
>
>
> The Steps are as below.
>
> 1:- Get the Latest Version Of MRTG
> 2:- Get the sample Config file from squid FAQ page.
> 4:- Insert Your MIB path in that file
> 5:- run ./mrtg proxy.cfg <where proxy.cfg> will be the sample file from
> squid FAQ.
>
>
> Yeah the difference is that you have lot of options in Linux and u can
> modify many thing at the time of copilations where as SUN systems are
> Somewhat static and nothing else, well i believe that a RAW linux
filesystem
> is not better then SUN is but if u are and Experience user of Linux You
can
> Make it the Most PowerFull OS.
>
>
> Just follow this and Enjoy..:-)))
>
> With Regards
> Ahsan Khan
> Sr. System Admin
> Internet Division (OneNet)
> Sun Communication Pvt. Ltd.
> http://www.one.net.pk
>
>
> ----- Original Message -----
> From: "Arslan Ghani" <arslanghani@usa.net>
> To: <ahsank@one.net.pk>
> Sent: Tuesday, January 25, 2000 12:41 PM
> Subject: Need your help...
>
>
> >
> >
> > Dear Ahsan Khan !
> >
> > Hi!
> >
> > I am subscribed to the squid mailing list. There I saw u helping a
> lot of
> > ppl. The thing is that I'm new to squid. I want to configure squid for
> MRTG. I
> > sent a couple of mails to the mailing list but couldn't undersatnd how
to
> do
> > it.
> >
> > Recently, I read a mail sent by you in which u told that u have managed
> to
> > configure MRTG for squid. Because I am new to all this stuff, could u
> please
> > help me in some way, so that I could also be able to do it.
> >
> > Is there a difference to accomplish this task for Squid-2.2.STABLE4
> (Intel
> > x86) and Squid-2.2.STABLE4 (Solaris 2.6).
> >
> > I will b grateful if u can provide me with some sort of documentation
> that
> > makes this task easier for me.
> >
> >
> > Waiting for ur reply, Thanx
> >
> > Regards,
> >
> > Arslan Ghani.
> >
> >
> > ____________________________________________________________________
> > Get free email and a permanent address at http://www.amexmail.com/?A=1
> >
>
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.amexmail.com/?A=1
>
Received on Thu Jan 27 2000 - 16:22:14 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:44 MST