?
Solved

How to generate traffic usage on mrtg

Posted on 2003-02-27
4
Medium Priority
?
225 Views
Last Modified: 2010-04-17
Dear all expert
I had lost all the mrtg traffice data,
and I was urgent enough to  generate the past data.


HOw can I generate the fake data pass through the year.

thx thx
0
Comment
Question by:samuellam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:helpquick
ID: 8040708
Hi,

MRTG gathers it's information from the router every 5 minutes, this data is held in a file called <target_name>.log, this would have the same name as the HTML file that MRTG creates.

As MRTG gets a snapshot of the current activity, if you have lost the .log file, MRTG will start again, or you can restore the log file.

If you restore the log file, then you will get a period of constant utilisation (according to mrtg) as no data would have been collected between the backup time and the restored time.

Hope this helps

HelpQuick
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 8041715
G'day, samuellam
like helpquick noted, there is a .log file in the workdirectory. It's a simple text file that you can edit to provide whatever you want for previous traffic by following the same syntax as the rest of the lines.

Cheers!
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 8725612
samuellam,
No comment has been added lately (106 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: PAQ/No Refund

Please leave any comments here within 7 days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thanks,

lrmoore
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers,
please post comments here where a Moderator will see it.
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 8776667
Per recommendation,

PashaMod
Community Support Moderator @Experts Exchange
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question