While I rather like the performace aspects of my DIR-628 router, I didn’t really relish the amount of time it took to get it configured for my network.  It also was surprising that SNMP wasn’t readily available on D-Link routers, except for their larger business-oriented ones.   The usual battery of web-scripts for the older D-Link routers are also rendered obsolete by some tricky XML in the newer routers.

With that venting aside, let me present dlinkstats for MRTG!  This is a small PERL script that gathers the information from any of the three interfaces on your D-Link router and puts it in the correct format for the MRTG router grapher.  YMMV!   I’ve only got the one DIR-628, so I just that one to test it against at this time.

dlinkstats <- Download it here!