So, if I want to set the ThreshMinI or ThreshMinO at 100 kb/s do I have to convert this into the byte counter as shown from the MRTG log file? If that is the case, do I multiply 100 kb/s by 600 sec??
100 kb/s * 600 s Thanks -----Original Message----- From: Fruitman, Corey [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 1:49 PM To: Chu, Quang; [EMAIL PROTECTED] Subject: RE: [mrtg] Log File Conversion The first line of the log file shows the raw counters from the last poll. They can't be converted into the "current" measurement because the "current" measurement is a *rate*, not a fixed number. When MRTG gets the next poll, it replaces the first line with the raw values it gets from the device and calculates the *rate* on the next line. Suppose you got the following measurements... |--------- raw --------| Time Counter In Counter Out 10:00am 100 250 10:05am 110 260 10:10am 115 280 At 10:00 the first line would show "100" and "250" -- the raw counters from the last poll. But at 10:10am, the first line of the log file would now show 115 and 280 since they were the last counters retrieved from the device. The "current" measurement in on your graph would be (115-110)/300 [where 300 -- or five minutes -- is the number of seconds between polls] and your "current" measurement out would be (280-260)/300. Hope that helps, Corey. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chu, Quang Sent: December 1, 2003 4:15 PM To: '[EMAIL PROTECTED]' Subject: [mrtg] Log File Conversion Can someone please help me with the explanation for the log file generated by mrtg? I understand that the first list the unix time stamp, current 'in' counter in bytes, current 'out' counter in bytes. When this is graph, it is converts to kb/s if needed to right? I am having a little trouble trying to do the math for the following: >From Log file: 1070050157 834213218 86673815 >From Graph 11:59 1254.8 kb/s 64.1 kb/s Can someone please show me how does the conversion works? I need to understand so that I can determine how to set the minimum bandwidth threshold. Thank you in advance. -- Unsubscribe mailto:[EMAIL PROTECTED] 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 -- Unsubscribe mailto:[EMAIL PROTECTED] 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