Re: [squid-users] Squid and Cacti problem

2008-06-24 Thread Henrik Nordstrom
On mån, 2008-06-23 at 16:58 +0200, Egi Konomi wrote:

 I used to have Squid 2.6.x monitored without any problem on cacti.
 
 But now on Squid 3.0.x, i get very gigant values in the range of 
 Gigabits (In the traffic in / out / saved section), that i dont think 
 that are real values.
 
 What might be the problem?

How long has your Squid been running?

Thinking you maybe got bitten by this:
http://www.squid-cache.org/Versions/v3/HEAD/changesets/b9032.patch

but on the other hand this bug has always been there since for as long
as Squid has supported SNMP, so maybe not... The above bug will make
some false readings when the counters gets above 0xFF80 until they
wrap around to 0x again...

Regards
Henrik


signature.asc
Description: This is a digitally signed message part


Re: [squid-users] Squid and Cacti problem

2008-06-24 Thread Egi

Hello,

I managed to fix it by reinstalling the cacti template for squid, i 
think there was a problem with the interpretation of the values. Because 
the returned value from the snmp was in bit and my template intrpreted 
it as Kbits.


Thank You!

Henrik Nordstrom wrote:

On mån, 2008-06-23 at 16:58 +0200, Egi Konomi wrote:

  

I used to have Squid 2.6.x monitored without any problem on cacti.

But now on Squid 3.0.x, i get very gigant values in the range of 
Gigabits (In the traffic in / out / saved section), that i dont think 
that are real values.


What might be the problem?



How long has your Squid been running?

Thinking you maybe got bitten by this:
http://www.squid-cache.org/Versions/v3/HEAD/changesets/b9032.patch

but on the other hand this bug has always been there since for as long
as Squid has supported SNMP, so maybe not... The above bug will make
some false readings when the counters gets above 0xFF80 until they
wrap around to 0x again...

Regards
Henrik
  




[squid-users] Squid and Cacti problem

2008-06-23 Thread Egi Konomi


Hello!

I used to have Squid 2.6.x monitored without any problem on cacti.

But now on Squid 3.0.x, i get very gigant values in the range of 
Gigabits (In the traffic in / out / saved section), that i dont think 
that are real values.


What might be the problem?



Re: [squid-users] Squid and Cacti problem

2008-06-23 Thread Amos Jeffries

 Hello!

 I used to have Squid 2.6.x monitored without any problem on cacti.

 But now on Squid 3.0.x, i get very gigant values in the range of
 Gigabits (In the traffic in / out / saved section), that i dont think
 that are real values.

 What might be the problem?


I've seen this in -3 also, but I run HEAD, so put most of my errors down
to bad readings when Squid was being reset after it hit a bug and crashed.

Are you sure the MIB has the same field at that OID location in both
versions?

Amos