MRTG Graphs Improved

January 27, 2003

I’ve made some improvements to the scripting behind the MRTG Graphs.

Previously my home server would automatically upload the MRTG graphs every 20 minutes, despite them being updated every 5 minutes to save on bandwidth. If they were uploaded every 5 minutes, traffic on uploading the graphs alone would be over 1gb per month.

Now to save on bandwidth, the graphs are not uploaded on a regular basis. Rather, they are updated on request. This means that when somebody visits the MRTG graphs, they are updated whilst the user waits.

This does result in a slight delay, but the delay is negligible and will result in a huge saving in data transfer.


Share: