[rrd-users] where do the peaks come from?
Stefan Krister
stefan.krister at creative.chaos.de
Tue Jun 28 13:01:21 MEST 2005
Hi,
in my traffic-graphs I get very high peaks when I reboot my machine.
Please take a look at
http://gallery.port23.de/albums/bastard/eth0_e_24h.png
wich is showing two peaks when I rebootet. A cronjob reads from 'ifconfig'
received=`ifconfig $interface | grep "RX bytes:" | cut -d":" -f2 | cut -d"
" -f1`
transmitted=`ifconfig $interface | grep "TX bytes:" | cut -d":" -f3 | cut
-d" " -f1`
and stores the data into the rrd:
rrdtool update $db_path/$interface.rrd N:$received:$transmitted
The read data at ca. 10:30pm shows
Jun 27 22:37:01 wrap root: eth0 Received:37617
Jun 27 22:37:01 wrap root: eth0 Transmitted:41547
Jun 27 22:38:01 wrap root: eth0 Received:44607
Jun 27 22:38:01 wrap root: eth0 Transmitted:46691
Jun 27 22:39:02 wrap root: eth0 Received:348711
Jun 27 22:39:02 wrap root: eth0 Transmitted:85963
but when I dump the rrd, I get this:
<!-- 2005-06-27 22:34:00 MESZ / 1119904440 --> <row><v> 2.7366154388e+04
</v><v> 8.2957246185e+04 </v></row>
<!-- 2005-06-27 22:35:00 MESZ / 1119904500 --> <row><v> 7.8343080038e+04
</v><v> 1.1222567595e+05 </v></row>
<!-- 2005-06-27 22:36:00 MESZ / 1119904560 --> <row><v> 3.4597503085e+07
</v><v> 3.3682566162e+07 </v></row>
<!-- 2005-06-27 22:37:00 MESZ / 1119904620 --> <row><v> 3.4597503085e+07
</v><v> 3.3682566162e+07 </v></row>
<!-- 2005-06-27 22:38:00 MESZ / 1119904680 --> <row><v> 1.1138663906e+06
</v><v> 1.0843661354e+06 </v></row>
<!-- 2005-06-27 22:39:00 MESZ / 1119904740 --> <row><v> 4.8684452185e+03
</v><v> 6.3057255489e+02 </v></row>
<!-- 2005-06-27 22:40:00 MESZ / 1119904800 --> <row><v> 2.1688671520e+04
</v><v> 8.2175666095e+03 </v></row>
All of my interfaces show similar peaks - even ppp0. What's going wrong
there?
Regards
Stefan
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list