[mrtg] Re: Monitoring Transit Traffic
David Sawyer
david.sawyer at uk.mckhboc.com
Thu Aug 30 17:47:59 MEST 2001
> I'd like to monitor the total in/out traffic to my transit service
> provider. Because
> we have multiple links to them, I have an external program which captures
> the inbitsec &
> outbitssec of all our links to them and sums them up.
>
> We have the capability of reaching 4.976 Gbps, so my MaxBytes[] value is
> set to 4976000000. I
> modified the mrtg source code to not crash when accepting values less than
> 2^32-1.
>
MaxBytes = bits / 8
4,976,000,000 / 8 = MaxBytes (622,000,000)
> My external program produces the following output...
>
> 1497274000 <total inbitssec>
> 224999000 <total outbitsec>
> 1
> Transit Customer
>
> My mrtg logfile looks like the following......it captures the outbitsec;
> however replaces the inbitsec with 0's.
>
> 999183985 1499495000 224629000
> 999183985 0 224629000 0 224629000
> 999183603 0 221818000 0 221818000
> 999183600 0 221818000 0 221818000
> 999183300 0 221820350 0 222053000
> 999183000 0 221887700 0 222053000
> 999182700 0 220977000 0 220977000
> 999182400 0 220977000 0 220977000
> 999182100 0 196148363 0 220977000
> 999181800 0 0 0 0
> 999181500 0 0 0 0
>
The value of 1,499,495,000 is higher than MaxBytes (4,976,000,000),
therefore it's ignored.
Are you sure that all the links add up to 4.976Gb
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list