Re: [squid-users] Squid and MRTG

From: Guido Serassio <serassio@dont-contact.us>
Date: Wed, 15 Aug 2001 13:27:48 +0200

Hi,

Il 12.26 15/08/2001 Mark Tinka ha scritto:
>hi..
>
>i have tried it but, for some reason, my SNMP management box can't connect
>to my squid server on port 3401.. when i start squid, i can see that is
>says listening fro SNMP messages on port 3401.. when i try to use cfgmaker
>from MRTG to create the config file for the stats, it errors when trying
>to connect to my squid box on port 3401....
>
>do u think squid is listening on this port for SNMP connections.. coz i
>can't seem to get the SNMP management server to see it... i have set
>squid.conf to listen on port 3401 already... and acls are right..
>
>thanks...
>
>AKNIT

I think that cfgmaker is not able to create a configuration for Squid, You
can create a config for another device, and after add the Squid stuff.

Guido

>--- Guido Serassio <serassio@libero.it>
> > wrote:
> >Hi,
> >
> >Il 08.26 15/08/2001 Mark Tinka ha scritto:
> >>hi list...
> >>
> >>i was wondering whether any of you might be able to help me with setting
> >>up MRTG and Squid... i have already got thec config lines for Squid
> >>monitoring from MRTG.ORG, but the Squid FAQ that has the link to how to
> >>integrate the two, apparently, is not working..
> >>
> >>if anyone can help me, i'd be much obliged... thanks..
> >>
> >>AKNIT
> >
> >I'm using MRTG 2.9-17 on an Windows 2000 system and Squid 2.3 STABLE 5
> for NT.
> >
> >The Squid related things on my mrtg.conf are:
> >
> >### Global Config Options
> >
> >LoadMIBS: D:\win32app\mrtg-2.9.17\MIBS\squid.mib
> >
> >######################################################################
> ># System: proxy.sg.private
> ># Description: Squid Proxy Server
> ># Contact: Serassio Guido
> ># Location: TORINO
> >######################################################################
> >
> >Target[proxy-hit]:
> >cacheHttpHits&cacheServerRequests:public@proxy.sg.private:3401
> >MaxBytes[proxy-hit]: 100000
> >Title[proxy-hit]: HTTP Hits
> >PageTop[proxy-hit]: <H2>proxy Cache Statistics: HTTP Hits / Requests</H2>
> > <TABLE>
> > <TR><TD>System:</TD> <TD>proxy.sg.private</TD></TR>
> > <TR><TD>Maintainer:</TD> <TD>Serassio Guido</TD></TR>
> > <TR><TD>Description:</TD><TD>Squid Proxy server</TD></TR>
> > </TABLE>
> >Suppress[proxy-hit]: y
> >LegendI[proxy-hit]: HTTP hits
> >LegendO[proxy-hit]: HTTP requests
> >Legend1[proxy-hit]: HTTP hits
> >Legend2[proxy-hit]: HTTP requests
> >YLegend[proxy-hit]: perminute
> >ShortLegend[proxy-hit]: req/min
> >Options[proxy-hit]: nopercent, perminute, dorelpercent, unknaszero
> >
> >Target[proxy-srvkbinout]:
> >cacheServerInKb&cacheServerOutKb:public@proxy.sg.private:3401
> >MaxBytes[proxy-srvkbinout]: 125000
> >Title[proxy-srvkbinout]: Cache Server Traffic In / Out
> >PageTop[proxy-srvkbinout]: <H2>Cache Statistics: Server traffic volume
> >(In/Out) </H2>
> > <TABLE>
> > <TR><TD>System:</TD> <TD>proxy.sg.private</TD></TR>
> > <TR><TD>Maintainer:</TD> <TD>Serassio Guido</TD></TR>
> > <TR><TD>Description:</TD><TD>Squid Proxy server</TD></TR>
> > </TABLE>
> >Suppress[proxy-srvkbinout]: y
> >LegendI[proxy-srvkbinout]: Traffic In
> >LegendO[proxy-srvkbinout]: Traffic Out
> >Legend1[proxy-srvkbinout]: Traffic In
> >Legend2[proxy-srvkbinout]: Traffic Out
> >YLegend[proxy-srvkbinout]: per minute
> >ShortLegend[proxy-srvkbinout]: b/min
> >kMG[proxy-srvkbinout]: k,M,G,T
> >kilo[proxy-srvkbinout]: 1024
> >Options[proxy-srvkbinout]: nopercent, perminute, unknaszero
> >
> >I enabled only two chart to test if SNMP is working, but there are many
> >counters that cab be read.
> >Please note that the squid.mib file is the mib.txt file located on
> >squid\etc directory.
> >
> >squid.conf configuration:
> >
> >acl snmppublic snmp_community public
> >snmp_port 3401
> >snmp_access allow snmppublic all
> >snmp_incoming_address 0.0.0.0
> >snmp_outgoing_address 0.0.0.0
> >
> >Don't forget to configure and compile with --enable-snmp option ....
> >
> >Useful links can be:
> >
> >http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
> >http://people.ee.ethz.ch/~oetiker/webtools/mrtg/squid.html
> >
> >Hoping to help You.
> >
> >Guido
> >
> >
> >
> >-
> >=======================================================
> >Serassio Guido
> >Via Albenga, 11/4 10134 - Torino -
> ITALY
> >Tel. : +39.011.610749
> >E-mail: serassio@interfree.it
> > serassio@libero.it
> >WWW: http://www.serassio.it
>
>_____________________________________________________________
>Be different Get yourself a Globenetcafe.net email ID
>Uganda's Newest internet cafe www.globenetcafe.net

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
Tel. : +39.011.610749
E-mail: serassio@interfree.it
         serassio@libero.it
WWW: http://www.serassio.it
Received on Wed Aug 15 2001 - 05:27:58 MDT

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