cancel
Showing results for 
Search instead for 
Did you mean: 

MRTG stats for the 2704n router

jeffers
Grafter
Posts: 29
Thanks: 12
Registered: ‎04-03-2015

MRTG stats for the 2704n router

Not sure how much use this will be to anyone on here but I wrote a quick and dirty script to pull the ADSL stats from the plusnet 2704n router suitable for use in mrtg.
Heres a link to the code:
https://gist.github.com/potchin/44cfdf88b31af19ab7dc
and a quick blog post with some sample mrtg config and screenshots..
http://www.potchin.co.uk/2015/03/wow-its-been-while-since-i-put-anything.html
I'm sure there's some fellow stats geeks out there who like this sort of thing  Crazy
2 REPLIES 2
Anotherone
Champion
Posts: 19,107
Thanks: 457
Fixes: 21
Registered: ‎31-08-2007

Re: MRTG stats for the 2704n router

Interesting, thanks for posting. I've made a note of the code, will try and look in more detail later. Strange I couldn't get the page with the code to open in IE - it is an old version, haven't bothered finding out why, it's fine in Firefox.
On the example screenshots, I was rather puzzled as to why your time axis runs from R to L rather than the conventional L to R.
jeffers
Grafter
Posts: 29
Thanks: 12
Registered: ‎04-03-2015

Re: MRTG stats for the 2704n router

Right to left is standard for mrtg, no idea why. Ive gotten used to it. You can add 'growright' to the config to swap it Smiley