Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post general support questions here that do not specifically fall into the Linux or Windows categories.
Moderators: Developers , Moderators
Steve25
Posts: 1 Joined: Thu Jul 09, 2009 6:42 am
Post
by Steve25 » Thu Jul 09, 2009 7:16 am
Hello,
I've a problem to get traffic information from rrd-tool. In cacti, I see that :
or if I execute this command on bash "rrdtool lastupdate serveur_st-foy_traffic_in_27.rrd" , I obtain that :
Code: Select all
rrdtool lastupdate serveur_st-foy_traffic_in_27.rrd
traffic_in traffic_out
1247141111: 3037444102 66104081
I don't understand the signification of 3037444102 and 66104081? It's not bit/s ...
An another sample :
Code: Select all
rrdtool fetch serveur_st-foy_traffic_in_27.rrd AVERAGE -r1 -s -6m
traffic_in traffic_out
1247141100: 3.5372309847e+05 1.0382666667e+01
1247141400: nan nan
Thanks for your help,
Steve.
browniebraun
Developer
Posts: 791 Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany
Post
by browniebraun » Thu Jul 09, 2009 10:35 am
Network interfaces use to count bytes not bits.
So in your case you will have:
3.5372309847e+05 *8 / 1e+06 = 2.829... MBit/s
"Lastupdate" returns the most recent update datum stored for each DS and the corresponding counter reading.
Best regards
-Andreas-
Users browsing this forum: No registered users and 1 guest