[Orca-users] Orca graph's y-axis for counter values

Blair Zajac blair at orcaware.com
Tue Apr 19 15:49:49 PDT 2011


On Apr 19, 2011, at 1:29 PM, Joshua Miller wrote:

> I use procallator to gather network interface statistics.  The 'Interface Input Packets Per Second' graph (among others) shows packets per second, but procallator seems to collect the packet counters once every five minutes and report the difference (a counter).  If I understand this correctly the data that's being collected is along the lines of "Packets per five minutes", rather than per second.
> 
> The data I see on the orca graphs seems to fit with what I'm observing.  Am I missing something?  And if not, is there a reason for having the graph y axis report Packets/s rather than Packets/5min?

It looks correct to me, as packets/s.  It's recording a count every 5 minutes and then dividing the difference by 300.

I have a system with 101.287 Mbit/sec and 16,088 packets/sec, if you assume roughly 1000 bytes per packet, then

16088*1000*8/1024/1024 = 122.7 Mbit/sec, which is in the right ballpark.

Finally, if you look at the procalltor implements:

            put_output(
                "if_in_b_$if_name[$i][$r]",
                rate( $if_in_b[$i][$r], $if_in_b[$i][ 1 - $r ] ),
                "if_in_p_$if_name[$i][$r]",
                rate( $if_in_p[$i][$r], $if_in_p[$i][ 1 - $r ] ),

then the bits/sec and the packets/sec are using the same algorithm.

Why do you think it's packets/5 min?

Blair




More information about the Orca-users mailing list