MRTG dynamic PPPoE or PPTP interface

It is not useful to graph dynamic interfaces this way because they will be in use by different customers at different times.
You will need to do something that makes it possible to identify them, maybe rename the interface in the up-script (don’t know if that is possible)

cfgmaker --ifref=name --ifdesc=name --use-16bit ‘–if-filter=$if_is_dialup’ --noreversedns --snmp-options :::::2 --global “WorkDir: /var/www/html” --global "Options[_]: growright, bits " public@192.168.0.1 --output=/root/mrtg.cfg
env LANG=C /usr/bin/mrtg /root/mrtg.cfg
indexmaker /root/mrtg.cfg --output=/var/www/html/index.html


This is my code for dinamic PPPoE.