ng-upnp2mrtg



Installation


ng-upnp2mrtg has not many dependencies. You need Python (which is already installed by default on nearly all distribution) and MRTG. MRTG should be available from the repositories of your distro – if not, you find it here.

Don't forget to make ng-upnp2mrtg executable.

ng-upnp2mrtg comes with an example configuration file for MRTG which has to be copied to /etc

cp -a ng-upnp2mrtg.py /usr/local/bin
chmod 755 /usr/local/bin/ng-upnp2mrtg.py
cp -a mrtg.cfg /etc

Create a crontab job for MRTG:

0-59/5 * * * * env LANG=C /usr/bin/mrtg --logging /var/log/mrtg.log

If you don't know which HOST and PORT to use, read the  'extending' page.