Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

How to generate traffic usage on mrtg

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
samuellam
Asked:
samuellam
  • 2
1 Solution
 
helpquickCommented:
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
 
lrmooreCommented:
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
 
lrmooreCommented:
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
 
PashaModCommented:
Per recommendation,

PashaMod
Community Support Moderator @Experts Exchange
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now