Advise on what to monitor using MRTG

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Advise on what to monitor using MRTG

squid squid
Hi,

I have servers running Squid 2.6 Stable 12 and have managed to install MRTG
2.15.2 on these servers. In view that there are so many graphs seen for
monitoring of squid using MRTG, kindly advise what are the necessary graphs
that I can plot to determine squid performance.

I am also getting SNMP error when cacheClientHttpRequests,
cacheCurrentLRUExpiration, cacheCurrentUnusedFileDescrCount and
cacheCurrentReservedFileDescrCount are being turned on.

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.3495.1.5.2.1.2)
SNMPv1_Session (remote host: "Server1" [10.0.0.22].3401)
                  community: "public"
                 request ID: 258813549
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for cacheClientHttpRequests cacheClientHttpRequests
cacheUptime cacheSoftware cacheVersionId on public@Frost:3401:::::v4only
at ../bin/mrtg line 2150
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
2007-06-29 13:14:12: WARNING: Expected a number but got '0:00:00'
2007-06-29 13:14:12: WARNING: Expected a number but got '0:00:00'
Unknown SNMP var cacheCurrentUnusedFileDescrCount
at ../bin/mrtg line 2150
Unknown SNMP var cacheCurrentUnusedFileDescrCount
at ../bin/mrtg line 2150
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
2007-06-29 13:14:12: WARNING: Expected a number but got '13:13:38'
2007-06-29 13:14:12: WARNING: Expected a number but got 'squid'
Unknown SNMP var cacheCurrentReservedFileDescrCount
at ../bin/mrtg line 2150
Unknown SNMP var cacheCurrentReservedFileDescrCount
at ../bin/mrtg line 2150
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
2007-06-29 13:14:12: WARNING: Expected a number but got '13:13:38'
2007-06-29 13:14:12: WARNING: Expected a number but got 'squid'
2007-06-29 13:14:12: ERROR: Target[cacheclienthttprequests][_IN_] '
$target->[3]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cacheclienthttprequests][_OUT_] '
$target->[3]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentlruexpiration][_IN_] '
$target->[19]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentlruexpiration][_OUT_] '
$target->[19]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentunusedfiledescrcount][_IN_] '
$target->[21]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentunusedfiledescrcount][_OUT_]
' $target->[21]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentreservedfiledescrcount][_IN_]
' $target->[22]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR:
Target[cachecurrentreservedfiledescrcount][_OUT_] ' $target->[22]{$mode} '
did not eval into defined data

What do these graphs showed and are they necessary to be activated???

Thank you.

_________________________________________________________________
Call friends with PC-to-PC calling – FREE
http://get.live.com/messenger/overview

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Henrik Nordström
On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
> Hi,
>
> I have servers running Squid 2.6 Stable 12 and have managed to install MRTG
> 2.15.2 on these servers. In view that there are so many graphs seen for
> monitoring of squid using MRTG, kindly advise what are the necessary graphs
> that I can plot to determine squid performance.

I have the following set of graphs:

http://www.henriknordstrom.net/code/squid_statistics/

the rrdtool scripts collecting the graphs is found in the code
directory..

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

squid squid
Hi,

Thank you for the reply.

Kindly advise what would be the matching MRTG graphs plotting that I should
set for the graphs that you have.

Kindly also advise on the SNMP error that I have and how can it be resolved.

Regards.


>From: Henrik Nordstrom <[hidden email]>
>To: squid squid <[hidden email]>
>CC: [hidden email]
>Subject: Re: [squid-users] Advise on what to monitor using MRTG
>Date: Fri, 29 Jun 2007 09:31:59 +0200
>
>On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
> > Hi,
> >
> > I have servers running Squid 2.6 Stable 12 and have managed to install
>MRTG
> > 2.15.2 on these servers. In view that there are so many graphs seen for
> > monitoring of squid using MRTG, kindly advise what are the necessary
>graphs
> > that I can plot to determine squid performance.
>
>I have the following set of graphs:
>
>http://www.henriknordstrom.net/code/squid_statistics/
>
>the rrdtool scripts collecting the graphs is found in the code
>directory..
>
>Regards
>Henrik


><< signature.asc >>

_________________________________________________________________
Call friends with PC-to-PC calling – FREE
http://get.live.com/messenger/overview

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Tek Bahadur Limbu
In reply to this post by Henrik Nordström
Henrik Nordstrom wrote:

> On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
>> Hi,
>>
>> I have servers running Squid 2.6 Stable 12 and have managed to install MRTG
>> 2.15.2 on these servers. In view that there are so many graphs seen for
>> monitoring of squid using MRTG, kindly advise what are the necessary graphs
>> that I can plot to determine squid performance.
>
> I have the following set of graphs:
>
> http://www.henriknordstrom.net/code/squid_statistics/
>
> the rrdtool scripts collecting the graphs is found in the code

Hi Hendrik,

Wow, cool and great stuff. It should serve as a template for all Squid
administrators.


Thanking you...

> directory..
>
> Regards
> Henrik

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Ralf Hildebrandt
* Tek Bahadur Limbu <[hidden email]>:

> >I have the following set of graphs:
> >
> >http://www.henriknordstrom.net/code/squid_statistics/
> >
> >the rrdtool scripts collecting the graphs is found in the code

Sorry, but I'm probably blind: Where *IS* the code?

--
Ralf Hildebrandt (i.A. des IT-Zentrums)         [hidden email]
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                    send no mail to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Juraj Sakala
Ralf Hildebrandt wrote:

> * Tek Bahadur Limbu <[hidden email]>:
>
>  
>>> I have the following set of graphs:
>>>
>>> http://www.henriknordstrom.net/code/squid_statistics/
>>>
>>> the rrdtool scripts collecting the graphs is found in the code
>>>      
>
> Sorry, but I'm probably blind: Where *IS* the code?
>
>  

http://www.henriknordstrom.net/code/

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

squid squid
In reply to this post by Tek Bahadur Limbu
Yes, these are great stuffs. It will be good if we can also have explanation
of what these graphs are monitoring on squid and how these graphs can help
us to track squid performance.


>From: Tek Bahadur Limbu <[hidden email]>
>To: Henrik Nordstrom <[hidden email]>
>CC: squid squid <[hidden email]>,  [hidden email]
>Subject: Re: [squid-users] Advise on what to monitor using MRTG
>Date: Fri, 29 Jun 2007 22:21:15 +0545
>
>Henrik Nordstrom wrote:
>>On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
>>>Hi,
>>>
>>>I have servers running Squid 2.6 Stable 12 and have managed to install
>>>MRTG 2.15.2 on these servers. In view that there are so many graphs seen
>>>for monitoring of squid using MRTG, kindly advise what are the necessary
>>>graphs that I can plot to determine squid performance.
>>
>>I have the following set of graphs:
>>
>>http://www.henriknordstrom.net/code/squid_statistics/
>>
>>the rrdtool scripts collecting the graphs is found in the code
>
>Hi Hendrik,
>
>Wow, cool and great stuff. It should serve as a template for all Squid
>administrators.
>
>
>Thanking you...
>
>>directory..
>>
>>Regards
>>Henrik
>

_________________________________________________________________
Call friends with PC-to-PC calling – FREE
http://get.live.com/messenger/overview

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Henrik Nordström
In reply to this post by squid squid
On Fri, 2007-06-29 at 16:08 +0800, squid squid wrote:

> Kindly advise what would be the matching MRTG graphs plotting that I should
> set for the graphs that you have.

Good question. Hasn't used MRTG in ages..

> Kindly also advise on the SNMP error that I have and how can it be resolved.

Sorry, don't have them. But it looked to me like you were querying the
wrong OIDs..

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Tek Bahadur Limbu
In reply to this post by squid squid
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 29 Jun 2007 16:08:08 +0800
"squid squid" <[hidden email]> wrote:

> Hi,
>
> Thank you for the reply.
>
> Kindly advise what would be the matching MRTG graphs plotting that I should
> set for the graphs that you have.
>
> Kindly also advise on the SNMP error that I have and how can it be resolved.
>

Hi,

Can you post us the relevant SNMP entries from your squid.conf?

Thanking you...


> Regards.
>
>
> >From: Henrik Nordstrom <[hidden email]>
> >To: squid squid <[hidden email]>
> >CC: [hidden email]
> >Subject: Re: [squid-users] Advise on what to monitor using MRTG
> >Date: Fri, 29 Jun 2007 09:31:59 +0200
> >
> >On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
> > > Hi,
> > >
> > > I have servers running Squid 2.6 Stable 12 and have managed to install
> >MRTG
> > > 2.15.2 on these servers. In view that there are so many graphs seen for
> > > monitoring of squid using MRTG, kindly advise what are the necessary
> >graphs
> > > that I can plot to determine squid performance.
> >
> >I have the following set of graphs:
> >
> >http://www.henriknordstrom.net/code/squid_statistics/
> >
> >the rrdtool scripts collecting the graphs is found in the code
> >directory..
> >
> >Regards
> >Henrik
>
>
> ><< signature.asc >>
>
> _________________________________________________________________
> Call friends with PC-to-PC calling _ FREE
> http://get.live.com/messenger/overview
>
>


- --


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFGh2xVVrOl+eVhOvYRAo5AAJwPAdVCQTv2LFjbxksyyExrv6zUfACfUF1R
hJauf+ONX+kPn1BarThddaQ=
=4kPu
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

squid squid
Hi,

SNMP entries in squid.conf:

acl snmppublic snmp_community public
snmp_port 3401
snmp_incoming_address 10.0.0.22
snmp_access allow snmppublic all
client_db on

Entries in mrtg-squid.cfg:

Target[cacheClientHttpRequests]:
cacheClientHttpRequests&cacheClientHttpRequests:public@localhost:3401
MaxBytes[cacheClientHttpRequests]: 10000000
Title[cacheClientHttpRequests]: Client Http Requests @ Proxy Server
Options[cacheClientHttpRequests]: growright, nopercent
PageTop[cacheClientHttpRequests]: <H1>Client Http Requests @ Proxy
Server</H1>
YLegend[cacheClientHttpRequests]: requests/sec
ShortLegend[cacheClientHttpRequests]: req/s
LegendI[cacheClientHttpRequests]: Requests&nbsp;
LegendO[cacheClientHttpRequests]:
Legend1[cacheClientHttpRequests]: Requests
Legend2[cacheClientHttpRequests]:

Target[cacheCurrentLRUExpiration]:
cacheCurrentLRUExpiration&cacheCurrentLRUExpiration:public@localhost:3401
MaxBytes[cacheCurrentLRUExpiration]: 1000000000
Title[cacheCurrentLRUExpiration]: LRU Expiration Age
Options[cacheCurrentLRUExpiration]: gauge, growright, nopercent
PageTop[cacheCurrentLRUExpiration]: <H1>Storage LRU Expiration Age @ Proxy
Server</H1>
YLegend[cacheCurrentLRUExpiration]: expir (days)
ShortLegend[cacheCurrentLRUExpiration]: days
LegendI[cacheCurrentLRUExpiration]: Age&nbsp;
LegendO[cacheCurrentLRUExpiration]:
Legend1[cacheCurrentLRUExpiration]: Age
Legend2[cacheCurrentLRUExpiration]:

The SNMP error when cacheClientHttpRequests and cacheCurrentLRUExpiration
are being turned on.

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.3495.1.5.2.1.2)
SNMPv1_Session (remote host: "Server1" [10.0.0.22].3401)
                  community: "public"
                 request ID: 258813549
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 490
SNMPGET Problem for cacheClientHttpRequests cacheClientHttpRequests
cacheUptime cacheSoftware cacheVersionId on public@10.0.0.22:3401:::::v4only
at ../bin/mrtg line 2150
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
line 2166.
2007-06-29 13:14:12: WARNING: Expected a number but got '0:00:00'
2007-06-29 13:14:12: WARNING: Expected a number but got '0:00:00'
2007-06-29 13:14:12: ERROR: Target[cacheclienthttprequests][_IN_] '
$target->[3]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cacheclienthttprequests][_OUT_] '
$target->[3]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentlruexpiration][_IN_] '
$target->[19]{$mode} ' did not eval into defined data
2007-06-29 13:14:12: ERROR: Target[cachecurrentlruexpiration][_OUT_] '
$target->[19]{$mode} ' did not eval into defined data

Regards.

>From: Tek Bahadur Limbu <[hidden email]>
>To: "squid squid" <[hidden email]>
>CC: [hidden email]
>Subject: Re: [squid-users] Advise on what to monitor using MRTG
>Date: Sun, 1 Jul 2007 14:41:53 +0545
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Fri, 29 Jun 2007 16:08:08 +0800
>"squid squid" <[hidden email]> wrote:
>
> > Hi,
> >
> > Thank you for the reply.
> >
> > Kindly advise what would be the matching MRTG graphs plotting that I
>should
> > set for the graphs that you have.
> >
> > Kindly also advise on the SNMP error that I have and how can it be
>resolved.
> >
>
>Hi,
>
>Can you post us the relevant SNMP entries from your squid.conf?
>
>Thanking you...
>
>
> > Regards.
> >
> >
> > >From: Henrik Nordstrom <[hidden email]>
> > >To: squid squid <[hidden email]>
> > >CC: [hidden email]
> > >Subject: Re: [squid-users] Advise on what to monitor using MRTG
> > >Date: Fri, 29 Jun 2007 09:31:59 +0200
> > >
> > >On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
> > > > Hi,
> > > >
> > > > I have servers running Squid 2.6 Stable 12 and have managed to
>install
> > >MRTG
> > > > 2.15.2 on these servers. In view that there are so many graphs seen
>for
> > > > monitoring of squid using MRTG, kindly advise what are the necessary
> > >graphs
> > > > that I can plot to determine squid performance.
> > >
> > >I have the following set of graphs:
> > >
> > >http://www.henriknordstrom.net/code/squid_statistics/
> > >
> > >the rrdtool scripts collecting the graphs is found in the code
> > >directory..
> > >
> > >Regards
> > >Henrik
> >
> >
> > ><< signature.asc >>
> >
> > _________________________________________________________________
> > Call friends with PC-to-PC calling _ FREE
> > http://get.live.com/messenger/overview
> >
> >
>
>
>- --
>
>
>With best regards and good wishes,
>
>Yours sincerely,
>
>Tek Bahadur Limbu
>
>(TAG/TDG Group)
>Jwl Systems Department
>
>Worldlink Communications Pvt. Ltd.
>
>Jawalakhel, Nepal
>
>http://www.wlink.com.np
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.2.2 (FreeBSD)
>
>iD8DBQFGh2xVVrOl+eVhOvYRAo5AAJwPAdVCQTv2LFjbxksyyExrv6zUfACfUF1R
>hJauf+ONX+kPn1BarThddaQ=
>=4kPu
>-----END PGP SIGNATURE-----

_________________________________________________________________
Get MSN Messenger emoticons and display pictures here!
http://ilovemessenger.msn.com/?mkt=en-sg

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Henrik Nordström
On Mon, 2007-07-02 at 09:32 +0800, squid squid wrote:

> The SNMP error when cacheClientHttpRequests and cacheCurrentLRUExpiration
> are being turned on.

cacheClientHttpRequests is one of the per-client counters in the
CacheClient array. You can't plot this with MRTG.

Suspect you are looking for cacheProtoClientHttpRequests which is the
number of requests your Squid server has seen on it's http(s)_port's.

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Tek Bahadur Limbu
In reply to this post by squid squid
squid squid wrote:

> Hi,
>
> SNMP entries in squid.conf:
>
> acl snmppublic snmp_community public
> snmp_port 3401
> snmp_incoming_address 10.0.0.22
> snmp_access allow snmppublic all
> client_db on
>
> Entries in mrtg-squid.cfg:
>
> Target[cacheClientHttpRequests]:
> cacheClientHttpRequests&cacheClientHttpRequests:public@localhost:3401
> MaxBytes[cacheClientHttpRequests]: 10000000
> Title[cacheClientHttpRequests]: Client Http Requests @ Proxy Server
> Options[cacheClientHttpRequests]: growright, nopercent
> PageTop[cacheClientHttpRequests]: <H1>Client Http Requests @ Proxy
> Server</H1>
> YLegend[cacheClientHttpRequests]: requests/sec
> ShortLegend[cacheClientHttpRequests]: req/s
> LegendI[cacheClientHttpRequests]: Requests&nbsp;
> LegendO[cacheClientHttpRequests]:
> Legend1[cacheClientHttpRequests]: Requests
> Legend2[cacheClientHttpRequests]:
>
> Target[cacheCurrentLRUExpiration]:
> cacheCurrentLRUExpiration&cacheCurrentLRUExpiration:public@localhost:3401
> MaxBytes[cacheCurrentLRUExpiration]: 1000000000
> Title[cacheCurrentLRUExpiration]: LRU Expiration Age
> Options[cacheCurrentLRUExpiration]: gauge, growright, nopercent
> PageTop[cacheCurrentLRUExpiration]: <H1>Storage LRU Expiration Age @
> Proxy Server</H1>
> YLegend[cacheCurrentLRUExpiration]: expir (days)
> ShortLegend[cacheCurrentLRUExpiration]: days
> LegendI[cacheCurrentLRUExpiration]: Age&nbsp;
> LegendO[cacheCurrentLRUExpiration]:
> Legend1[cacheCurrentLRUExpiration]: Age
> Legend2[cacheCurrentLRUExpiration]:
>
> The SNMP error when cacheClientHttpRequests and
> cacheCurrentLRUExpiration are being turned on.

Hi,

I also don't think that cacheClientHttpRequests  and
cacheCurrentLRUExpiration will work with MRTG. I am not using these 2
entries for my MRTG graphs because they were causing problems.


I think that your MRTG graphs for other values will work fine if you
remove or hash out these 2 entries from your cfg file.


Thanking you...


>
> SNMP Error:
> Received SNMP response with error code
>  error status: noSuchName
>  index 1 (OID: 1.3.6.1.4.1.3495.1.5.2.1.2)
> SNMPv1_Session (remote host: "Server1" [10.0.0.22].3401)
>                  community: "public"
>                 request ID: 258813549
>                PDU bufsize: 8000 bytes
>                    timeout: 2s
>                    retries: 5
>                    backoff: 1)
> at /usr/local/mrtg/bin/../lib/mrtg2/SNMP_util.pm line 490
> SNMPGET Problem for cacheClientHttpRequests cacheClientHttpRequests
> cacheUptime cacheSoftware cacheVersionId on
> public@10.0.0.22:3401:::::v4only
> at ../bin/mrtg line 2150
> Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
> line 2166.
> Use of uninitialized value in concatenation (.) or string at ../bin/mrtg
> line 2166.
> 2007-06-29 13:14:12: WARNING: Expected a number but got '0:00:00'
> 2007-06-29 13:14:12: WARNING: Expected a number but got '0:00:00'
> 2007-06-29 13:14:12: ERROR: Target[cacheclienthttprequests][_IN_] '
> $target->[3]{$mode} ' did not eval into defined data
> 2007-06-29 13:14:12: ERROR: Target[cacheclienthttprequests][_OUT_] '
> $target->[3]{$mode} ' did not eval into defined data
> 2007-06-29 13:14:12: ERROR: Target[cachecurrentlruexpiration][_IN_] '
> $target->[19]{$mode} ' did not eval into defined data
> 2007-06-29 13:14:12: ERROR: Target[cachecurrentlruexpiration][_OUT_] '
> $target->[19]{$mode} ' did not eval into defined data
>
> Regards.
>
>> From: Tek Bahadur Limbu <[hidden email]>
>> To: "squid squid" <[hidden email]>
>> CC: [hidden email]
>> Subject: Re: [squid-users] Advise on what to monitor using MRTG
>> Date: Sun, 1 Jul 2007 14:41:53 +0545
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Fri, 29 Jun 2007 16:08:08 +0800
>> "squid squid" <[hidden email]> wrote:
>>
>> > Hi,
>> >
>> > Thank you for the reply.
>> >
>> > Kindly advise what would be the matching MRTG graphs plotting that I
>> should
>> > set for the graphs that you have.
>> >
>> > Kindly also advise on the SNMP error that I have and how can it be
>> resolved.
>> >
>>
>> Hi,
>>
>> Can you post us the relevant SNMP entries from your squid.conf?
>>
>> Thanking you...
>>
>>
>> > Regards.
>> >
>> >
>> > >From: Henrik Nordstrom <[hidden email]>
>> > >To: squid squid <[hidden email]>
>> > >CC: [hidden email]
>> > >Subject: Re: [squid-users] Advise on what to monitor using MRTG
>> > >Date: Fri, 29 Jun 2007 09:31:59 +0200
>> > >
>> > >On Fri, 2007-06-29 at 13:20 +0800, squid squid wrote:
>> > > > Hi,
>> > > >
>> > > > I have servers running Squid 2.6 Stable 12 and have managed to
>> install
>> > >MRTG
>> > > > 2.15.2 on these servers. In view that there are so many graphs
>> seen for
>> > > > monitoring of squid using MRTG, kindly advise what are the
>> necessary
>> > >graphs
>> > > > that I can plot to determine squid performance.
>> > >
>> > >I have the following set of graphs:
>> > >
>> > >http://www.henriknordstrom.net/code/squid_statistics/
>> > >
>> > >the rrdtool scripts collecting the graphs is found in the code
>> > >directory..
>> > >
>> > >Regards
>> > >Henrik
>> >
>> >
>> > ><< signature.asc >>
>> >
>> > _________________________________________________________________
>> > Call friends with PC-to-PC calling _ FREE
>> > http://get.live.com/messenger/overview
>> >
>> >
>>
>>
>> - --
>>
>>
>> With best regards and good wishes,
>>
>> Yours sincerely,
>>
>> Tek Bahadur Limbu
>>
>> (TAG/TDG Group)
>> Jwl Systems Department
>>
>> Worldlink Communications Pvt. Ltd.
>>
>> Jawalakhel, Nepal
>>
>> http://www.wlink.com.np
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.2.2 (FreeBSD)
>>
>> iD8DBQFGh2xVVrOl+eVhOvYRAo5AAJwPAdVCQTv2LFjbxksyyExrv6zUfACfUF1R
>> hJauf+ONX+kPn1BarThddaQ=
>> =4kPu
>> -----END PGP SIGNATURE-----
>
> _________________________________________________________________
> Get MSN Messenger emoticons and display pictures here!
> http://ilovemessenger.msn.com/?mkt=en-sg
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

squid squid
In reply to this post by Henrik Nordström
Hi,

Thank you for the advise. The error on CacheClient was gone after changing
to the parameter that you have advised.

May I know what is the difference between cacheServerRequests and
cacheProtoClientHttpRequests???

Kindly also advise which is the parameter which will show the total number
of entries captured on the access.log???

Regards.


>From: Henrik Nordstrom <[hidden email]>
>To: squid squid <[hidden email]>
>CC: [hidden email]
>Subject: Re: [squid-users] Advise on what to monitor using MRTG
>Date: Mon, 02 Jul 2007 08:55:01 +0200
>
>On Mon, 2007-07-02 at 09:32 +0800, squid squid wrote:
>
> > The SNMP error when cacheClientHttpRequests and
>cacheCurrentLRUExpiration
> > are being turned on.
>
>cacheClientHttpRequests is one of the per-client counters in the
>CacheClient array. You can't plot this with MRTG.
>
>Suspect you are looking for cacheProtoClientHttpRequests which is the
>number of requests your Squid server has seen on it's http(s)_port's.
>
>Regards
>Henrik


><< signature.asc >>

_________________________________________________________________
Call friends with PC-to-PC calling – FREE
http://get.live.com/messenger/overview

Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

Henrik Nordström
On tis, 2007-07-03 at 11:04 +0800, squid squid wrote:

> Thank you for the advise. The error on CacheClient was gone after changing
> to the parameter that you have advised.
>
> May I know what is the difference between cacheServerRequests and
> cacheProtoClientHttpRequests???

It I am not mistaken cacheServerRequests is requests forwarded to other
servers.

> Kindly also advise which is the parameter which will show the total number
> of entries captured on the access.log???

There is no such counter.

If you don't have peers then the difference of
cacheProtoClientHttpRequests between now and when you last rotated the
logs is a good approximation.. (includes all HTTP requests, but not ICP
requests).

Regards
Henrik



signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Advise on what to monitor using MRTG

squid squid
Thank you for the explanation. For my case, the Squid servers that I have
are acting as forward proxy servers, no peers and no caching on them.

That is to say, the access will be from client --> squid --> various web/app
servers.

This being the case, am I right to say that cacheServerRequests and
cacheProtoClientHttpRequests should be almost the same ???

Kindly also advise on what do the following mean:

1. HTTP All Service Time

2. HTTP Miss Service Time

3. Byte Hit Ratio

4. DNS Service Time

5. Server Error

6. HTTP Error

7. Num Object Count

8. Storage Mem Size

9. Available Number of File Descriptors

10. Reserved Number of File Descriptors

11. SysPage Fault

Regards.


>From: Henrik Nordstrom <[hidden email]>
>To: squid squid <[hidden email]>
>CC: [hidden email]
>Subject: Re: [squid-users] Advise on what to monitor using MRTG
>Date: Wed, 04 Jul 2007 00:39:05 +0200
>
>On tis, 2007-07-03 at 11:04 +0800, squid squid wrote:
>
> > Thank you for the advise. The error on CacheClient was gone after
>changing
> > to the parameter that you have advised.
> >
> > May I know what is the difference between cacheServerRequests and
> > cacheProtoClientHttpRequests???
>
>It I am not mistaken cacheServerRequests is requests forwarded to other
>servers.
>
> > Kindly also advise which is the parameter which will show the total
>number
> > of entries captured on the access.log???
>
>There is no such counter.
>
>If you don't have peers then the difference of
>cacheProtoClientHttpRequests between now and when you last rotated the
>logs is a good approximation.. (includes all HTTP requests, but not ICP
>requests).
>
>Regards
>Henrik
>
>


><< signature.asc >>

_________________________________________________________________
Get MSN Messenger emoticons and display pictures here!
http://ilovemessenger.msn.com/?mkt=en-sg