[rtg] RTGPLOT appears to divide traffic by 10.

Charlie Allom charlie at playlouder.com
Wed Apr 29 12:20:18 EDT 2009


Hi,

Same-ish problem.

I am running rtg2 from the googlecode and I get this:

# /usr/local/rtg/bin/95.pl datahop 04/01/2009 04/30/2009+23:59
datahop Traffic
Period: [04/01/2009 00:00:00 to 04/30/2009 23:59:00]

                            RateIn   RateOut    MaxIn   MaxOut   95% In  95% Out
Connection                    Mbps      Mbps     Mbps     Mbps     Mbps     Mbps
--------------------------------------------------------------------------------
GigabitEther cr0.cll.play     0.11      4.25     0.44    45.28     0.21     7.53
GigabitEther cr1.cll.play     0.10      3.90     1.38    13.34     0.41     8.02
GigabitEther sw1.cll.play     0.42     19.87     2.67   131.35     1.39    71.75

Total:                        0.63     28.02     4.49   189.97     2.01     87.3

but that last port is running between 30 and 90Mbps (according to cacti).
Adding a '&factor=8' doesn't change any of the graphs.

here is the SQL:
mysql> select * from ifOutOctets_4 where id=72;
+----+---------------------+---------+----------+
| id | dtime               | counter | rate     |
+----+---------------------+---------+----------+
<snip>
| 72 | 2009-04-29 14:25:45 |      64 | 0.213339 | 
| 72 | 2009-04-29 15:05:46 |      64 | 0.212707 | 
| 72 | 2009-04-29 16:20:45 |      64 | 0.213322 | 
+----+---------------------+---------+----------+

is the PHP out of sync? rtgplot.c seems to reference an LO that breaks..

why is the SQL always at ~20Mbps when the MaxOut obviously shows some
variation?

Regards,
  C.

On Mon, Apr 13, 2009 at 09:49:05AM -0500, Brandon Ewing wrote:
> Drew,
> 
> What version of the plotter are you using?
> 
> rtgpoll stores its readings in Octets (bytes),  so don't forget to set
> factor=8 in your line object.
> 
-- 
 020 7729 4797
 http://blog.playlouder.com/


More information about the RTG mailing list