[mrtg] Re: Converting log files from octets to 5min load.

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Wed Oct 16 16:12:01 MEST 2002


Bernard,

I guess you have to add the following to your configfile: 

Options[c1-r.vlan14.octets]: bits

HTH

Jan.


-----Original Message-----
From: Bernard van de Koppel [mailto:bernard at netwerkinformatie.com] 
Sent: Wednesday, October 16, 2002 2:21 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Converting log files from octets to 5min load.


Hi,  
 
I want to switch to the 5 min counter, but people here also want to keep
the 
history if possible. 
 
How can I convert the normal interface load (logfile) for an interface
to the  
Cisco 5 min load (which is an gauge type entry). It seems that roughly
all  
values are devided by 8, but possibly the counters in the mrtg logfiles
are  
build in an other way. Simply multiplying all values by 8 (behind the
date 
field) probably wont do the trick. 
 
The "10.1.0.2-10-octets-day.png" file is the graph in the old (octets)
format, 
the  
"c1-r.vlan14.octets-day.png" file is the output from the 5 min counter. 
 
Hope anyone can help. 
 
Bernard van de Koppel   
   
   
A small part of the converted logfile after 2 polls from MRTG.  
1034771401 13000 1000   
1034771401 13000 1000 13000 1000   
1034771102 13000 2000 13000 2000   
1034771100 13006 2013 14000 4000   
1034770800 14000 3986 14000 4000   
1034770500 11320 2670 14000 3000   
1034770200 10000 3000 10000 3000   
1034769900 10000 3000 10000 3000   
1034769600 10000 3000 10000 3000   
1034769300 10000 3000 10000 3000   
1034769000 10000 3000 10000 3000   
1034768700 10000 3000 10000 3000   
1034768400 10000 3000 10000 3000   
1034768100 10000 3000 10000 3000   
1034767800 9379 2837 10000 3000   
1034767500 2239 964 2239 964   
1034767200 2239 964 2239 964   
1034766900 2239 964 2239 964   
1034766600 2239 964 2239 964   
1034766300 2241 971 2247 988   
1034766000 2247 988 2247 988   
1034765700 2247 988 2247 988   
1034765400 2247 988 2247 988   
1034765100 2254 986 2306 988   
1034764800 2306 977 2306 977   

----------------------------------------------------
This mail was sent from the netwerkinformatie server.
If you get this mail in error, please inform
                  Postmaster at netwerkinformatie.com


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 2k (2945 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/10.1.0.2-10-octets-day.


-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 2k (2111 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/c1-r.vlan14.octets-day.


--
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

--
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